$path) { if (substr($prefix, -1) === '_' || $prefix == 'Pimple') { $loader->registerPrefix($prefix, $path); } else { $loader->registerNamespace($prefix, $path); } } $loader->registerNamespaces(array( 'Entities' => realpath(__DIR__ . '/../Doctrine/'), 'Repositories' => realpath(__DIR__ . '/../Doctrine/'), 'Proxies' => realpath(__DIR__ . '/../Doctrine/'), 'Doctrine\\Logger' => realpath(__DIR__ . '/../'), 'Types' => realpath(__DIR__ . "/../Doctrine"), 'PhraseaFixture' => realpath(__DIR__ . "/../conf.d"), )); $loader->register(); set_include_path( get_include_path() . PATH_SEPARATOR . realpath(__DIR__ . '/../../vendor/zend/gdata/library') ); static::$autoloader_initialized = true; return; } }