| Conditions | 4 |
| Paths | 3 |
| Total Lines | 7 |
| Lines | 2 |
| Ratio | 28.57 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final public function __call($name, $args){ |
||
| 17 | View Code Duplication | if (isset(static::$__PROTOTYPE__[$name]) && static::$__PROTOTYPE__[$name] instanceof \Closure) |
|
| 18 | return call_user_func_array(static::$__PROTOTYPE__[$name]->bindTo($this, $this), $args); |
||
| 19 | if (get_parent_class()) |
||
| 20 | return parent::__call($name, $args); |
||
| 21 | else throw new \BadMethodCallException; |
||
| 22 | } |
||
| 23 | |||
| 41 |