public function resolveMethod($class, $method, $params = [], $isRoute = false)
    {
        $reflectionMethod = new ReflectionMethod($class, $method);

        $dependencies = $reflectionMethod->getParameters();

        return $this->getDependencies($dependencies, $params, $isRoute);
    }
public function resolveMethod($class, $method, $params = [], $isRoute = false)
    {
        $reflectionMethod = new ReflectionMethod($class, $method);

        $dependencies = $reflectionMethod->getParameters();

        return $this->getDependencies($dependencies, $params, $isRoute);
    }
public function resolveMethod ( $ class , $ method , $ params = [ ] , $ isRoute = false ) { $ reflectionMethod = new ReflectionMethod ( $ class , $ method ) ; $ dependencies = $ reflectionMethod -> getParameters ( ) ; return $ this -> getDependencies ( $ dependencies , $ params , $ isRoute ) ; }
Resolve dependencies for a method.

@param string $class
@param string $method
@param array  $params
@param bool   $isRoute

@return array
Resolve dependencies for a method .