Total Complexity | 2 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
11 | final class InvalidCustomGenerator extends \Exception implements ORMException |
||
12 | { |
||
13 | public static function onClassNotConfigured() : self |
||
14 | { |
||
15 | return new self('Cannot instantiate custom generator, no class has been defined'); |
||
16 | } |
||
17 | |||
18 | public static function onMissingClass(array $definition) : self |
||
23 | )); |
||
24 | } |
||
26 |