| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class InvalidOption extends Exception |
||
| 8 | { |
||
| 9 | public static function missingFromField() |
||
| 10 | { |
||
| 11 | return new static('Could not determinate which fields should be sluggified'); |
||
| 12 | } |
||
| 13 | |||
| 14 | public static function missingSlugField() |
||
| 15 | { |
||
| 16 | return new static('Could not determinate in which field the slug should be saved'); |
||
| 17 | } |
||
| 18 | |||
| 19 | public static function invalidMaximumLength() |
||
| 22 | } |
||
| 23 | } |
||
| 24 |