src/Core/ModuleLoader/ModuleLoader.php
protected function setupAutoloaders($modulePath, array $mConf)
    {
        if (isset($mConf['autoload']['psr-4'])) {
            foreach ($mConf['autoload']['psr-4'] as $ns => $path) {
                $path = $modulePath . DIRECTORY_SEPARATOR . preg_replace("/^\\.\\//", "", $path);
                $this->classLoader->registerNamespace($ns, $path, 'psr-4');
            }
        }
    }
protected function setupAutoloaders($modulePath, array $mConf)
    {
        if (isset($mConf['autoload']['psr-4'])) {
            foreach ($mConf['autoload']['psr-4'] as $ns => $path) {
                $path = $modulePath . DIRECTORY_SEPARATOR . preg_replace("/^\\.\\//", "", $path);
                $this->classLoader->registerNamespace($ns, $path, 'psr-4');
            }
        }
    }
protected function setupAutoloaders ( $ modulePath , array $ mConf ) { if ( isset ( $ mConf [ 'autoload' ] [ 'psr-4' ] ) ) { foreach ( $ mConf [ 'autoload' ] [ 'psr-4' ] as $ ns => $ path ) { $ path = $ modulePath . DIRECTORY_SEPARATOR . preg_replace ( "/^\\.\\//" , "" , $ path ) ; $ this -> classLoader -> registerNamespace ( $ ns , $ path , 'psr-4' ) ; } } }
Copy autoloader settings to global collection ready for registering
Copy autoloader settings to global collection ready for registering