public function resolveMethod($class, $method, array $args = [])
    {
        if ( ! is_object($class)) {
            throw new Exception('Container::makeMethod except a object as the first parameter!');
        }

        $reflectionMethod = new ReflectionMethod($class, $method);
        $dependencies = $this->getMethodDependencies($reflectionMethod, $args);

        return $reflectionMethod->invokeArgs($class, $dependencies);
    }