getContainerLoader() protected method

protected getContainerLoader ( Symfony\Component\DependencyInjection\ContainerInterface $container )
$container Symfony\Component\DependencyInjection\ContainerInterface
 protected function getContainerLoader(ContainerInterface $container)
 {
     $loader = parent::getContainerLoader($container);
     $locator = new FileLocator($this);
     // Add additional loader to the resolver
     $resolver = $loader->getResolver();
     $resolver->addLoader(new DirectoryFileLoader($container, $locator));
     return $loader;
 }