Conditions | 3 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function __call($method, array $arguments) |
||
27 | { |
||
28 | if ($method === 'and' || $method === 'or') { |
||
29 | return \call_user_func_array(array($this, $method.'X'), $arguments); |
||
30 | } |
||
31 | |||
32 | throw new \BadMethodCallException(\sprintf('Call to undefined method %s::%s', \get_class($this), $method)); |
||
33 | } |
||
34 | |||
59 |