Roller\Router::__call PHP Метод

__call() публичный Метод

dispatch methods to plugins (mixin) and routeset methods
public __call ( $m, $a )
    public function __call($m, $a)
    {
        if (method_exists($this->routes, $m)) {
            return call_user_func_array(array($this->routes, $m), $a);
        }
        foreach ($this->plugins as $p) {
            if (method_exists($p, $m)) {
                return call_user_func_array(array($p, $m), $a);
            }
        }
        throw new Exception("{$m} method not found.");
    }