private function getDependencies()
    {
        $dependencies = [];

        foreach ($this->resolver->names() as $name) {
            $dependencies[$name] = $this->getDependenciesRecursive($name);
        }

        return $dependencies;
    }