File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 22
33return [
44 // namespace
5- 'namespace ' => 'App\Test ' ,
5+ 'namespace ' => 'App ' ,
66 // default file store location
77 'file_location ' => app_path (),
88 // this tells the generator which original source format that will be used for translation.
1111 # Please define an object instead of item
1212 # so each array needs to be defined with a key name, for example, 'message' is a key name
1313 'post ' => [
14- 'author ' => (object )[
14+ 'author ' => (object )[
15+ 'id ' => 1 ,
16+ 'note ' => null ,
17+ 'rating ' => 4.6 ,
1518 'first_name ' => '' ,
1619 'last_name ' => '' ,
1720 ],
18- 'comment ' => (object )[
21+ 'comment ' => (object )[
1922 'user ' => (object )[
23+ 'is_active ' => false ,
2024 'first_name ' => '' ,
2125 'last_name ' => ''
2226 ],
2327 'content ' => ''
2428 ],
2529 'followers ' => (array )[
26- 'id ' => '' ,
27- 'follower_user ' => ( object ) [
30+ 'id ' => 1 ,
31+ 'follower_users ' => [
2832 'first_name ' => '' ,
2933 'last_name ' => ''
3034 ]
3135 ],
32- 'text ' => '' ,
33- 'date ' => '2019-01-01 '
36+ 'views ' => 123 ,
37+ 'text ' => '' ,
38+ 'date ' => '2019-01-01 '
3439 ]
3540 ],
3641];
You can’t perform that action at this time.
0 commit comments