1 | <?php |
||
9 | 12 | trait EnumCastable |
|
10 | { |
||
11 | 12 | abstract public function __construct($value = null); |
|
12 | 9 | ||
13 | abstract public function getValue(); |
||
14 | 9 | ||
15 | 9 | public function get($model, string $key, $value, array $attributes) |
|
19 | 12 | ||
20 | public function set($model, string $key, $value, array $attributes) |
||
28 | } |
||
29 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.