1 | <?php namespace League\Fractal\Test\Dto; |
||
3 | class Book |
||
4 | { |
||
5 | public $title; |
||
6 | public $year; |
||
7 | public $author; |
||
8 | public $meta; |
||
9 | |||
10 | public function __construct($title, $year, Person $author = null, array $meta = null) |
||
17 | |||
18 | public static function make($title, $year, Person $author = null, array $meta = null) |
||
22 | } |
||
23 |