1 | <?php |
||
11 | trait SessionSerializerTrait { |
||
12 | |||
13 | /** |
||
14 | * @param mixed $model |
||
15 | * @param array $fields |
||
16 | */ |
||
17 | public function getAttributes($model, array $fields = null) { |
||
23 | |||
24 | /** |
||
25 | */ |
||
26 | public function getFields() { |
||
29 | |||
30 | /** |
||
31 | * @param mixed $model |
||
32 | */ |
||
33 | public function getId($model) { |
||
36 | |||
37 | /** |
||
38 | */ |
||
39 | public function getRelationships() { |
||
44 | |||
45 | /** |
||
46 | */ |
||
47 | public function getSortFields() { |
||
50 | |||
51 | /** |
||
52 | * @param mixed $model |
||
53 | */ |
||
54 | public function getType($model) { |
||
57 | |||
58 | /** |
||
59 | * @param mixed $model |
||
60 | * @param mixed $data |
||
61 | */ |
||
62 | public function hydrate($model, $data) { |
||
73 | |||
74 | /** |
||
75 | * @param mixed $model |
||
76 | * @param mixed $data |
||
77 | */ |
||
78 | public function setUser($model, $data) { |
||
81 | |||
82 | /** |
||
83 | * @param mixed $model |
||
84 | * @param mixed $related |
||
85 | */ |
||
86 | public function user($model, $related) { |
||
94 | } |
||
95 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.