| Conditions | 4 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 4 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | 4 | public function supportsDefinitionAndArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue) |
|
| 34 | { |
||
| 35 | // '%FOO%', '%foo%' |
||
| 36 | return |
||
| 37 | 4 | is_string($argumentValue) && |
|
| 38 | 4 | PlaceholderUtil::isValidPlaceholder($argumentValue) && |
|
| 39 | 1 | ($placeholders = $this->placeholderBag->all()) && |
|
| 40 | 4 | isset($placeholders[$argumentValue]) |
|
| 41 | ; |
||
| 42 | } |
||
| 43 | |||
| 57 |