1 | <?php |
||
6 | trait CurrencySerializerTrait { |
||
7 | |||
8 | /** |
||
9 | * @param mixed $model |
||
10 | * @param array $fields |
||
11 | */ |
||
12 | public function getAttributes($model, array $fields = null) { |
||
26 | |||
27 | /** |
||
28 | */ |
||
29 | public function getFields() { |
||
32 | |||
33 | /** |
||
34 | * @param mixed $model |
||
35 | */ |
||
36 | public function getId($model) { |
||
39 | |||
40 | /** |
||
41 | */ |
||
42 | public function getSortFields() { |
||
45 | |||
46 | /** |
||
47 | * @param mixed $model |
||
48 | */ |
||
49 | public function getType($model) { |
||
52 | |||
53 | /** |
||
54 | * @param mixed $model |
||
55 | * @param mixed $data |
||
56 | */ |
||
57 | public function hydrate($model, $data) { |
||
61 | } |
||
62 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.