Conditions | 4 |
Paths | 8 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | public function setChannelOption($option) |
||
32 | { |
||
33 | if (!empty($option['prefetch_size'])) { |
||
34 | $this->channelOptions['prefetch_size'] = $option['prefetch_size']; |
||
35 | } |
||
36 | if (!empty($option['prefetch_count'])) { |
||
37 | $this->channelOptions['prefetch_count'] = $option['prefetch_count']; |
||
38 | } |
||
39 | if (!empty($option['a_global'])) { |
||
40 | $this->channelOptions['a_global'] = $option['a_global']; |
||
41 | } |
||
58 |