1 | <?php |
||
13 | trait UserSerializerTrait { |
||
14 | |||
15 | /** |
||
16 | * @param mixed $model |
||
17 | * @param mixed $data |
||
18 | */ |
||
19 | public function addGroups($model, $data) { |
||
27 | |||
28 | /** |
||
29 | * @param mixed $model |
||
30 | * @param array $fields |
||
31 | */ |
||
32 | public function getAttributes($model, array $fields = null) { |
||
45 | |||
46 | /** |
||
47 | */ |
||
48 | public function getFields() { |
||
51 | |||
52 | /** |
||
53 | * @param mixed $model |
||
54 | */ |
||
55 | public function getId($model) { |
||
58 | |||
59 | /** |
||
60 | */ |
||
61 | 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) { |
||
106 | |||
107 | /** |
||
108 | * @param mixed $model |
||
109 | * @param mixed $data |
||
110 | */ |
||
111 | public function removeGroups($model, $data) { |
||
119 | |||
120 | /** |
||
121 | * @param mixed $model |
||
122 | * @param mixed $data |
||
123 | */ |
||
124 | public function setGroups($model, $data) { |
||
128 | } |
||
129 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.