1 | <?php |
||
24 | class SimpleObject |
||
25 | { |
||
26 | /** @Type("string") */ |
||
27 | private $foo; |
||
28 | |||
29 | /** |
||
30 | * @SerializedName("moo") |
||
31 | * @Type("string") |
||
32 | */ |
||
33 | private $bar; |
||
34 | |||
35 | /** @Type("string") */ |
||
36 | protected $camelCase = 'boo'; |
||
37 | |||
38 | public function __construct($foo, $bar) |
||
43 | |||
44 | public function getFoo() |
||
48 | |||
49 | public function getBar() |
||
53 | } |