Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDaDeng authored Aug 12, 2019
1 parent 0a3a8a2 commit eaad22c
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,35 @@ php artisan make:dto
#### PHP Array Schema

````php
'post' => [
'post' => (object)[
'author' => (object)[
'id' => 1,
'note' => null,
'rating' => 4.6,
'first_name' => '',
'last_name' => '',
],
'comment' => (object)[
'user' => (object)[
'comment_by' => (object)[
'is_active' => false,
'first_name' => '',
'last_name' => ''
],
'content' => ''
'content' => ''
],
'followers' => (array)[
'id' => '',
'follower_user' => (object)[
'followers' => (object)[
'id' => 1,
'follower_users' => (array)[
'first_name' => '',
'last_name' => ''
]
],
'views' => 123,
'text' => '',
'date' => '2019-01-01'
],
'feedback' => (object)[
'comment' => ''
]
````

Expand Down

0 comments on commit eaad22c

Please sign in to comment.