Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | 2 | public static function mapNotFoundForClassName(string $className): self |
|
13 | { |
||
14 | 2 | $message = <<<TXT |
|
15 | 2 | No concrete class was found that implements: |
|
16 | 2 | "{$className}" |
|
17 | Did you forget to bind this interface to a concrete class? |
||
18 | |||
19 | You might find some help here: https://gacela-project.com/docs/bootstrap/#bindings |
||
20 | 2 | TXT; |
|
21 | 2 | return new self($message); |
|
22 | } |
||
24 |