1 | <?php |
||
6 | trait SubdivisionSerializerTrait { |
||
7 | |||
8 | /** |
||
9 | * @param mixed $model |
||
10 | * @param array $fields |
||
11 | */ |
||
12 | public function getAttributes($model, array $fields = null) { |
||
24 | |||
25 | /** |
||
26 | */ |
||
27 | public function getFields() { |
||
30 | |||
31 | /** |
||
32 | * @param mixed $model |
||
33 | */ |
||
34 | public function getId($model) { |
||
37 | |||
38 | /** |
||
39 | */ |
||
40 | public function getSortFields() { |
||
43 | |||
44 | /** |
||
45 | * @param mixed $model |
||
46 | */ |
||
47 | public function getType($model) { |
||
50 | |||
51 | /** |
||
52 | * @param mixed $model |
||
53 | * @param mixed $data |
||
54 | */ |
||
55 | public function hydrate($model, $data) { |
||
59 | } |
||
60 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.