protected function registerAutoloader($app)
    {
        // now configure a new autoloader spl configuration
        $autoloaderApp = new Doozr_Loader_Autoloader_Spl_Config();
        $autoloaderApp
            ->_namespace($app->namespace)
            ->namespaceSeparator('_')
            ->addExtension('php')
            ->path(substr($app->path, 0, -1))
            ->description('Autoloader for App classes with namespace: "'.$app->namespace.'"')
            ->priority(0);

        Doozr_Loader_Autoloader_Spl_Facade::attach([$autoloaderApp]);
    }
protected function registerAutoloader($app)
    {
        // now configure a new autoloader spl configuration
        $autoloaderApp = new Doozr_Loader_Autoloader_Spl_Config();
        $autoloaderApp
            ->_namespace($app->namespace)
            ->namespaceSeparator('_')
            ->addExtension('php')
            ->path(substr($app->path, 0, -1))
            ->description('Autoloader for App classes with namespace: "'.$app->namespace.'"')
            ->priority(0);

        Doozr_Loader_Autoloader_Spl_Facade::attach([$autoloaderApp]);
    }
protected function registerAutoloader ( $ app ) { // now configure a new autoloader spl configuration $ autoloaderApp = new Doozr_Loader_Autoloader_Spl_Config ( ) ; $ autoloaderApp -> _namespace ( $ app -> namespace ) -> namespaceSeparator ( '_' ) -> addExtension ( 'php' ) -> path ( substr ( $ app -> path , 0 , - 1 ) ) -> description ( 'Autoloader for App classes with namespace: "' . $ app -> namespace . '"' ) -> priority ( 0 ) ; Doozr_Loader_Autoloader_Spl_Facade :: attach ( [ $ autoloaderApp ] ) ; }
Registers an autoloader instance SPL with highest priority for loading classes of the app.

@param object $app The app configuration object

@author Benjamin Carl <opensource@clickalicious.de>
Registers an autoloader instance SPL with highest priority for loading classes of the app .