Conditions | 2 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
11 | public static function noLinkDefinedFor( |
||
12 | Reflected $theAbstractType |
||
13 | ): InvalidServiceDefinition { |
||
14 | return new self(sprintf( |
||
15 | 'Cannot resolve the %s `%s`. Consider adding an AutoWire link.', |
||
16 | $theAbstractType->isInterface() ? 'interface' : 'abstract class', |
||
17 | $theAbstractType->getName() |
||
18 | )); |
||
21 |