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