protected function call($object, $name, array $arguments = [])
    {
        $start = microtime(true);

        $ret = call_user_func_array(array($object, $name), $arguments);

        $this->notifyEvent($name, $arguments, $ret, microtime(true) - $start);

        return $ret;
    }
protected function call($object, $name, array $arguments = [])
    {
        $start = microtime(true);

        $ret = call_user_func_array(array($object, $name), $arguments);

        $this->notifyEvent($name, $arguments, $ret, microtime(true) - $start);

        return $ret;
    }
protected function call ( $ object , $ name , array $ arguments = [ ] ) { $ start = microtime ( true ) ; $ ret = call_user_func_array ( array ( $ object , $ name ) , $ arguments ) ; $ this -> notifyEvent ( $ name , $ arguments , $ ret , microtime ( true ) - $ start ) ; return $ ret ; }
Call a method and notify an event.

@param object $object    Method object
@param string $name      Method name
@param array  $arguments Method arguments

@return mixed
Call a method and notify an event .