processConfiguration($configuration, $configs); $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); $loader->load('services.yml'); } /* (non-PHPdoc) * @see \Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface::prepend() */ public function prepend(ContainerBuilder $container) { //add routes for custom bundle $container->prependExtensionConfig('chill_main', array( 'routing' => array( 'resources' => array( '@ChillEventBundle/Resources/config/routing.yml' ) ) )); } }