Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class ClassNameException extends RuntimeException |
||
8 | { |
||
9 | public static function classDoesNotExist(string $className) : self |
||
10 | { |
||
11 | return new self("Class $className does not exist"); |
||
12 | } |
||
13 | |||
14 | public static function missingMethod(string $className, string $methodName): self |
||
17 | } |
||
18 | |||
19 | public static function missingImplementation(string $className, string $interfaceName) |
||
22 | } |
||
23 | } |