Conditions | 4 |
Paths | 4 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function value($value) |
||
24 | { |
||
25 | if ($value === null) { |
||
26 | $this->lastValue = null; |
||
27 | return null; |
||
28 | } |
||
29 | foreach ($this->processors as $processor) { |
||
30 | $value = $processor->value($value); |
||
31 | if ($value === null) { |
||
32 | break; |
||
33 | } |
||
34 | } |
||
35 | $this->lastValue = $value; |
||
36 | return $value; |
||
37 | } |
||
38 | } |