protected function callWithDependencies($instance, $method)
    {
        return call_user_func_array(
            [$instance, $method], $this->resolveClassMethodDependencies([], $instance, $method)
        );
    }
protected function callWithDependencies($instance, $method)
    {
        return call_user_func_array(
            [$instance, $method], $this->resolveClassMethodDependencies([], $instance, $method)
        );
    }
protected function callWithDependencies ( $ instance , $ method ) { return call_user_func_array ( [ $ instance , $ method ] , $ this -> resolveClassMethodDependencies ( [ ] , $ instance , $ method ) ) ; }
Call a class method with the resolved dependencies.

@param object $instance
@param string $method

@return mixed
Call a class method with the resolved dependencies .