| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 27 | 1 | public function addCondition(InputSourceBuilder $inputSourceBuilder, MatcherBuilder $matcherBuilder) |
|
| 28 | { |
||
| 29 | 1 | $this->conditions[] = [ |
|
| 30 | 1 | ConfigOptions::CONFIG_NODE_CONDITION_MATCHER => $matcherBuilder->build(), |
|
| 31 | 1 | ConfigOptions::CONFIG_NODE_CONDITION_SOURCE => $inputSourceBuilder->build(), |
|
| 32 | ]; |
||
| 33 | 1 | return $this; |
|
| 34 | } |
||
| 35 | |||
| 64 |