| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class MoreThanOne extends Exception |
||
| 6 | { |
||
| 7 | public $attributes = null; |
||
| 8 | public $modelClass = null; |
||
| 9 | public function getLogMessage() { |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getLogCategory() { |
||
| 20 | return 'import.moreThanOne.' . str_replace(' ', '', $this->getModelLabel()); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | protected function getModelLabel() |
||
| 30 | } |
||
| 31 | } |