private function setupServiceProvidersAutoloader($inputDirectory, array $services)
    {
        //creates the autoloader
        $loader = new Loader();

        //setup default path when is not defined
        foreach ($services as $className => $path) {
            if (!$path) {
                $services[$className] = $inputDirectory . sprintf('%s.php', $className);
            }
        }
        $loader->registerClasses($services, true);

        $loader->register();
    }
private function setupServiceProvidersAutoloader($inputDirectory, array $services)
    {
        //creates the autoloader
        $loader = new Loader();

        //setup default path when is not defined
        foreach ($services as $className => $path) {
            if (!$path) {
                $services[$className] = $inputDirectory . sprintf('%s.php', $className);
            }
        }
        $loader->registerClasses($services, true);

        $loader->register();
    }
private function setupServiceProvidersAutoloader ( $ inputDirectory , array $ services ) { //creates the autoloader $ loader = new Loader ( ) ; //setup default path when is not defined foreach ( $ services as $ className => $ path ) { if ( ! $ path ) { $ services [ $ className ] = $ inputDirectory . sprintf ( '%s.php' , $ className ) ; } } $ loader -> registerClasses ( $ services , true ) ; $ loader -> register ( ) ; }
Registers classes that contains services providers

@param string $inputDirectory
@param array $services
@internal
Registers classes that contains services providers