Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class PhoneDetector extends AbstractDetector |
||
11 | { |
||
12 | /** |
||
13 | * Authorize execution. |
||
14 | * |
||
15 | * @param string $column |
||
16 | * @param Column $metadata |
||
17 | * @param Model $model |
||
18 | * |
||
19 | * @return bool |
||
20 | */ |
||
21 | protected function authorize(string $column, Column $metadata, Model $model): bool |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Detect field class. |
||
28 | * |
||
29 | * @param string $column |
||
30 | * @param Column $metadata |
||
31 | * @param Model $model |
||
32 | * |
||
33 | * @return mixed |
||
34 | */ |
||
35 | protected function detect(string $column, Column $metadata, Model $model) |
||
38 | } |
||
39 | } |