public function call($class, $method, &$a = null, &$b = null, &$c = null, &$d = null, &$e = null)
    {
        if (!is_callable(array($class, $method))) {
            return false;
        }

        try {
            $instance = Container::get($class);
            $instance->{$method}($a, $b, $c, $d, $e);
            $this->called[$method][$class] = array($class, $method);
            return array($a, $b, $c, $d, $e);
        } catch (Exception $exc) {
            return false;
        }
    }
public function call($class, $method, &$a = null, &$b = null, &$c = null, &$d = null, &$e = null)
    {
        if (!is_callable(array($class, $method))) {
            return false;
        }

        try {
            $instance = Container::get($class);
            $instance->{$method}($a, $b, $c, $d, $e);
            $this->called[$method][$class] = array($class, $method);
            return array($a, $b, $c, $d, $e);
        } catch (Exception $exc) {
            return false;
        }
    }
public function call ( $ class , $ method , & $ a = null , & $ b = null , & $ c = null , & $ d = null , & $ e = null ) { if ( ! is_callable ( array ( $ class , $ method ) ) ) { return false ; } try { $ instance = Container :: get ( $ class ) ; $ instance -> { $ method } ( $ a , $ b , $ c , $ d , $ e ) ; $ this -> called [ $ method ] [ $ class ] = array ( $ class , $ method ) ; return array ( $ a , $ b , $ c , $ d , $ e ) ; } catch ( Exception $ exc ) { return false ; } }
Calls a hook method
@param string $class
@param string $method
@param mixed $a
@param mixed $b
@param mixed $c
@param mixed $d
@param mixed $e
@return boolean|array
Calls a hook method