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