private function mergeComposerPsr4($vendor)
    {
        if ($psr4Autoload = $this->findComposerDirectory($vendor, 'autoload_psr4.php')) {
            $this->log->debug('Located autoload_psr4.php file', ['path' => $psr4Autoload]);
            $map = require $psr4Autoload;
            foreach ($map as $namespace => $path) {
                $this->log->debug('Autoloading PSR-4 namespace', ['namespace' => $namespace, 'path' => $path]);
                $this->app->getLoader()->setPsr4($namespace, $path);
            }
        }
    }
private function mergeComposerPsr4($vendor)
    {
        if ($psr4Autoload = $this->findComposerDirectory($vendor, 'autoload_psr4.php')) {
            $this->log->debug('Located autoload_psr4.php file', ['path' => $psr4Autoload]);
            $map = require $psr4Autoload;
            foreach ($map as $namespace => $path) {
                $this->log->debug('Autoloading PSR-4 namespace', ['namespace' => $namespace, 'path' => $path]);
                $this->app->getLoader()->setPsr4($namespace, $path);
            }
        }
    }
private function mergeComposerPsr4 ( $ vendor ) { if ( $ psr4Autoload = $ this -> findComposerDirectory ( $ vendor , 'autoload_psr4.php' ) ) { $ this -> log -> debug ( 'Located autoload_psr4.php file' , [ 'path' => $ psr4Autoload ] ) ; $ map = require $ psr4Autoload ; foreach ( $ map as $ namespace => $ path ) { $ this -> log -> debug ( 'Autoloading PSR-4 namespace' , [ 'namespace' => $ namespace , 'path' => $ path ] ) ; $ this -> app -> getLoader ( ) -> setPsr4 ( $ namespace , $ path ) ; } } }
Merges the dependencies PSR-4 namespaces.

@param $vendor
Merges the dependencies PSR - 4 namespaces .