| Conditions | 4 |
| Paths | 3 |
| Total Lines | 6 |
| Lines | 2 |
| Ratio | 33.33 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | final public static function __callStatic($name, $args){ |
||
| 25 | View Code Duplication | if (isset(static::$__PROTOTYPE__[$name]) && static::$__PROTOTYPE__[$name] instanceof \Closure) |
|
| 26 | return forward_static_call_array(static::$__PROTOTYPE__[$name], $args); |
||
| 27 | if (get_parent_class()) return parent::__callStatic($name, $args); |
||
| 28 | else throw new \BadMethodCallException; |
||
| 29 | } |
||
| 30 | |||
| 41 |