1 | <?php |
||
15 | trait ActionSerializerTrait { |
||
16 | |||
17 | /** |
||
18 | * @param mixed $model |
||
19 | * @param mixed $data |
||
20 | */ |
||
21 | public function addGroups($model, $data) { |
||
29 | |||
30 | /** |
||
31 | * @param mixed $model |
||
32 | * @param array $fields |
||
33 | */ |
||
34 | public function getAttributes($model, array $fields = null) { |
||
44 | |||
45 | /** |
||
46 | */ |
||
47 | public function getFields() { |
||
50 | |||
51 | /** |
||
52 | * @param mixed $model |
||
53 | */ |
||
54 | public function getId($model) { |
||
57 | |||
58 | /** |
||
59 | */ |
||
60 | public function getRelationships() { |
||
66 | |||
67 | /** |
||
68 | */ |
||
69 | public function getSortFields() { |
||
72 | |||
73 | /** |
||
74 | * @param mixed $model |
||
75 | */ |
||
76 | public function getType($model) { |
||
79 | |||
80 | /** |
||
81 | * @param mixed $model |
||
82 | * @param mixed $related |
||
83 | */ |
||
84 | public function group($model, $related) { |
||
88 | |||
89 | /** |
||
90 | * @param mixed $model |
||
91 | * @param mixed $data |
||
92 | */ |
||
93 | public function hydrate($model, $data) { |
||
104 | |||
105 | /** |
||
106 | * @param mixed $model |
||
107 | * @param mixed $related |
||
108 | */ |
||
109 | public function module($model, $related) { |
||
117 | |||
118 | /** |
||
119 | * @param mixed $model |
||
120 | * @param mixed $data |
||
121 | */ |
||
122 | public function removeGroups($model, $data) { |
||
130 | |||
131 | /** |
||
132 | * @param mixed $model |
||
133 | * @param mixed $data |
||
134 | */ |
||
135 | public function setGroups($model, $data) { |
||
139 | |||
140 | /** |
||
141 | * @param mixed $model |
||
142 | * @param mixed $data |
||
143 | */ |
||
144 | public function setModule($model, $data) { |
||
147 | } |
||
148 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.