registerNamespaces(array( 'Symfony' => array($vendorDir.'/symfony/src'), 'Sensio\\Bundle\\FrameworkExtraBundle' => array($vendorDir), )); $loader->register(); spl_autoload_register(function($class) { if (0 === strpos($class, 'Propel\\PropelBundle\\')) { $path = __DIR__.'/../'.implode('/', array_slice(explode('\\', $class), 2)).'.php'; if (!stream_resolve_include_path($path)) { return false; } require_once $path; return true; } });