Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
29 | 114 | public function testConditions($parameterName, $value, $itemType = false) |
|
30 | { |
||
31 | 114 | $test = ''; |
|
32 | 114 | if ($this->getRestrictionModel()) { |
|
33 | 114 | $test = sprintf('!%s::%s($%s)', $this->getRestrictionModel()->getPackagedName(true), StructEnum::METHOD_VALUE_IS_VALID, $parameterName); |
|
34 | 57 | } |
|
35 | 114 | return $test; |
|
36 | } |
||
62 |