protected function initAutoloader($service)
    {
        // Register services custom autoloader
        $autoloaderService = new Doozr_Loader_Autoloader_Spl_Config();
        $autoloaderService
            ->_namespace('Doozr_'.$service)
            ->namespaceSeparator('_')
            ->addExtension('php')
            ->path(DOOZR_DOCUMENT_ROOT.'Service')
            ->description('Doozr\'s '.$service.' service autoloader. Timestamp: '.time());

        // Add to SPL through facade
        $this->autoloader = Doozr_Loader_Autoloader_Spl_Facade::attach(
            $autoloaderService
        );
    }
protected function initAutoloader($service)
    {
        // Register services custom autoloader
        $autoloaderService = new Doozr_Loader_Autoloader_Spl_Config();
        $autoloaderService
            ->_namespace('Doozr_'.$service)
            ->namespaceSeparator('_')
            ->addExtension('php')
            ->path(DOOZR_DOCUMENT_ROOT.'Service')
            ->description('Doozr\'s '.$service.' service autoloader. Timestamp: '.time());

        // Add to SPL through facade
        $this->autoloader = Doozr_Loader_Autoloader_Spl_Facade::attach(
            $autoloaderService
        );
    }
protected function initAutoloader ( $ service ) { // Register services custom autoloader $ autoloaderService = new Doozr_Loader_Autoloader_Spl_Config ( ) ; $ autoloaderService -> _namespace ( 'Doozr_' . $ service ) -> namespaceSeparator ( '_' ) -> addExtension ( 'php' ) -> path ( DOOZR_DOCUMENT_ROOT . 'Service' ) -> description ( 'Doozr\'s ' . $ service . ' service autoloader. Timestamp: ' . time ( ) ) ; // Add to SPL through facade $ this -> autoloader = Doozr_Loader_Autoloader_Spl_Facade :: attach ( $ autoloaderService ) ; }
Initialize autoloader for this service.

Each service get its own autoloader attached to SPL autoloaders.

@param string $service The name of the service to init autoloader for

@author Benjamin Carl <opensource@clickalicious.de>
@return void
@access protected
Initialize autoloader for this service .