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

        $dependencies = $reflectionMethod->getParameters();

        return $this->getDependencies($dependencies, $params, $isRoute);
    }