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