| Total Complexity | 2 | 
| Total Lines | 15 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 14 | class GeneratorInstantiationException extends RuntimeException | ||
| 15 | { | ||
| 16 | public static function createForMissingGenerator(string $className): self | ||
| 17 |     { | ||
| 18 | return new static(sprintf( | ||
| 19 | 'The generator [%s] could not be found.', | ||
| 20 | $className, | ||
| 21 | )); | ||
| 22 | } | ||
| 23 | |||
| 24 | public static function createForNotInstantiableGenerator(string $className): self | ||
| 29 | )); | ||
| 30 | } | ||
| 32 |