| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | final class EloquentSituations |
||
| 6 | { |
||
| 7 | protected $methods = [ |
||
| 8 | 'whenYouFetch' => 'retrieved', |
||
| 9 | 'whenYouCreate' => 'creating', |
||
| 10 | 'whenYouUpdate' => 'updating', |
||
| 11 | 'whenYouSave' => 'saving', |
||
| 12 | 'whenYouDelete' => 'deleting', |
||
| 13 | ]; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param $method |
||
| 17 | * @param $model |
||
| 18 | * @return array |
||
| 19 | */ |
||
| 20 | public function normalize($method, $model) |
||
| 25 |