| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 55.56% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | abstract class Form extends Model |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @return self|mixed return model itself if has errors, otherwise returns handled's result. |
||
| 10 | * @throws \Throwable rethrows exception if no error specified. |
||
| 11 | */ |
||
| 12 | 3 | public function handle() |
|
| 27 | } |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return mixed |
||
| 32 | */ |
||
| 33 | abstract protected function handleInternal(); |
||
| 34 | } |