1 | <?php |
||
12 | trait ApplicationUriSerializerTrait { |
||
13 | |||
14 | /** |
||
15 | * @param mixed $model |
||
16 | * @param mixed $related |
||
17 | */ |
||
18 | public function application($model, $related) { |
||
26 | |||
27 | /** |
||
28 | * @param mixed $model |
||
29 | * @param array $fields |
||
30 | */ |
||
31 | public function getAttributes($model, array $fields = null) { |
||
41 | |||
42 | /** |
||
43 | */ |
||
44 | public function getFields() { |
||
47 | |||
48 | /** |
||
49 | * @param mixed $model |
||
50 | */ |
||
51 | public function getId($model) { |
||
54 | |||
55 | /** |
||
56 | */ |
||
57 | public function getRelationships() { |
||
63 | |||
64 | /** |
||
65 | */ |
||
66 | public function getSortFields() { |
||
69 | |||
70 | /** |
||
71 | * @param mixed $model |
||
72 | */ |
||
73 | public function getType($model) { |
||
76 | |||
77 | /** |
||
78 | * @param mixed $model |
||
79 | * @param mixed $data |
||
80 | */ |
||
81 | public function hydrate($model, $data) { |
||
92 | |||
93 | /** |
||
94 | * @param mixed $model |
||
95 | * @param mixed $related |
||
96 | */ |
||
97 | public function localization($model, $related) { |
||
105 | |||
106 | /** |
||
107 | * @param mixed $model |
||
108 | * @param mixed $data |
||
109 | */ |
||
110 | public function setApplication($model, $data) { |
||
113 | |||
114 | /** |
||
115 | * @param mixed $model |
||
116 | * @param mixed $data |
||
117 | */ |
||
118 | public function setLocalization($model, $data) { |
||
121 | } |
||
122 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.