public function resolveMethod($instance, string $method, array $parameters = [])
    {
        $name = get_class($instance);
        $reflection = new \ReflectionMethod($name, $method);

        $dependencies = $reflection->getParameters();
        $instances = $this->resolveDependencies($dependencies, $parameters); // Actually resolve the dependencies
        $o = $reflection->invokeArgs($instance, $instances);

        return $o;
    }