private function executeMethod(array $arguments)
    {
        if ($this->reflection->isStatic()) {
            return $this->reflection->invokeArgs(null, $arguments);
        } elseif (is_object($this->callback[0])) {
            return $this->reflection->invokeArgs($this->callback[0], $arguments);
        }
        $instance = new $this->callback[0]();
        return $this->reflection->invokeArgs($instance, $arguments);
    }
private function executeMethod(array $arguments)
    {
        if ($this->reflection->isStatic()) {
            return $this->reflection->invokeArgs(null, $arguments);
        } elseif (is_object($this->callback[0])) {
            return $this->reflection->invokeArgs($this->callback[0], $arguments);
        }
        $instance = new $this->callback[0]();
        return $this->reflection->invokeArgs($instance, $arguments);
    }
private function executeMethod ( array $ arguments ) { if ( $ this -> reflection -> isStatic ( ) ) { return $ this -> reflection -> invokeArgs ( null , $ arguments ) ; } elseif ( is_object ( $ this -> callback [ 0 ] ) ) { return $ this -> reflection -> invokeArgs ( $ this -> callback [ 0 ] , $ arguments ) ; } $ instance = new $ this -> callback [ 0 ] ( ) ; return $ this -> reflection -> invokeArgs ( $ instance , $ arguments ) ; }
Execute the specified callback object method. Works with static calls
or instance method.

@param array $arguments
@return mixed
Execute the specified callback object method . Works with static calls or instance method .