Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class NonUniqueSlugException extends InvalidArgumentException implements ProblemDetailsExceptionInterface |
||
14 | { |
||
15 | use CommonProblemDetailsExceptionTrait; |
||
16 | |||
17 | private const TITLE = 'Invalid custom slug'; |
||
18 | private const TYPE = 'INVALID_SLUG'; |
||
19 | |||
20 | 5 | public static function fromSlug(string $slug, ?string $domain = null): self |
|
38 |