private function mergeComposerNamespaces($vendor)
    {
        if ($namespaceFile = $this->findComposerDirectory($vendor, 'autoload_namespaces.php')) {
            $this->log->debug('Located autoload_namespaces.php file', ['path' => $namespaceFile]);
            $map = require $namespaceFile;
            foreach ($map as $namespace => $path) {
                $this->log->debug('Autoloading namespace', ['namespace' => $namespace, 'path' => $path]);
                $this->app->getLoader()->set($namespace, $path);
            }
        }
    }