| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public static function forClassName(string $className): self |
||
| 12 | { |
||
| 13 | $message = <<<TXT |
||
| 14 | No concrete class was found that implements: |
||
| 15 | {$className} |
||
| 16 | Did you forget to map this interface to a concrete class in gacela.php overriding the mappingInterfaces() method? |
||
| 17 | TXT; |
||
| 18 | return new self($message); |
||
| 19 | } |
||
| 21 |