Thanh Nguyen
Results
2
issues of
Thanh Nguyen
``` class Topping { @Serialize() public type: string; } class Book { @Serialize() public name: string; @Serialize() public topping: Topping[]; } ``` I tried and see it doesn't work.
question
documentation
Example: ``` $posts = Post::all(array('include' => array('author')); foreach($posts as $post){ echo $post->author->name; } ``` After loading the posts, It will collect the _author_id_ from each one and load all the...