Skip to content

Commit 727caca

Browse files
committed
config description
1 parent 0f06662 commit 727caca

1 file changed

Lines changed: 13 additions & 16 deletions

File tree

config/config.php

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@
1010
| URL naming form
1111
|--------------------------------------------------------------------------
1212
|
13-
| Определяет, в каком числе будут представлены ресурсы в строке URL.
14-
| К примеру, plural чтобы использовать URL вида 'test.com/api/posts'
15-
| или singular чтобы использовать URL вида 'test.com/api/post'
16-
|
17-
| Specifies in which form resources in the url string
18-
| In example, 'test.com/api/posts' for plural form
19-
| or 'test.com/api/post' for singular form
13+
| Specifies resources form in the url string
14+
| For example, plural for URL like 'test.com/api/posts'
15+
| or singular for URL like 'test.com/api/post'
2016
|
17+
| Available Settings: singular, plural
2118
|
2219
*/
2320

@@ -28,13 +25,11 @@
2825
| Table naming form
2926
|--------------------------------------------------------------------------
3027
|
31-
| Определяет, в каком числе будут именоватся ресурсы в БД.
32-
| К примеру, plural чтобы ресурсы именовались в множественном числе: posts, users и т.д.
33-
| или singular чтобы ресурсы именовались в единственном числе: post, user и т.д.
28+
| Specifies form of table in the database
29+
| In example, 'posts' for plural form
30+
| or 'post' for singular form
3431
|
35-
| Specifies form of resources in the url string
36-
| In example, 'test.com/api/posts' for plural form
37-
| or 'test.com/api/post' for singular form
32+
| Available Settings: singular, plural
3833
|
3934
*/
4035

@@ -49,9 +44,11 @@
4944
| К примеру, plural чтобы связи ресурсов именовались в множественном числе: posts_id, users_id и т.д.
5045
| или singular чтобы связи ресурсов именовались в единственном числе: post_id, user_id и т.д.
5146
|
52-
| Defines form of resources in the url string
53-
| In example, 'test.com/api/posts' for plural form
54-
| or 'test.com/api/post' for singular form
47+
| Specifies form of relation fields in the database
48+
| In example, 'posts_id' for plural form
49+
| or 'post_id' for singular form
50+
|
51+
| Available Settings: singular, plural
5552
|
5653
*/
5754

0 commit comments

Comments
 (0)