registerContainerConfiguration() public method

public registerContainerConfiguration ( Symfony\Component\Config\Loader\LoaderInterface $loader )
$loader Symfony\Component\Config\Loader\LoaderInterface
 /**
  * Load the config.yml from the current directory.
  */
 public function registerContainerConfiguration(LoaderInterface $loader)
 {
     // Load the default file.
     parent::registerContainerConfiguration($loader);
     // Load the file with MySQL configuration
     $loader->load(__DIR__ . '/config.yml');
 }
 /**
  * Load the config.yml from the current directory.
  */
 public function registerContainerConfiguration(LoaderInterface $loader)
 {
     // Load the default file.
     parent::registerContainerConfiguration($loader);
     // Load the file with "liip_functional_test" parameters
     $loader->load(__DIR__ . '/config.yml');
 }
 public function registerContainerConfiguration(LoaderInterface $loader)
 {
     parent::registerContainerConfiguration($loader);
     $backendConfig = $this->backendConfig;
     // needed for PHP 5.3
     $loader->load(function (ContainerBuilder $container) use($backendConfig) {
         $container->loadFromExtension('easy_admin', $backendConfig);
     });
 }
Example #4
0
 /**
  * {@inheritdoc}
  */
 public function registerContainerConfiguration(LoaderInterface $loader)
 {
     parent::registerContainerConfiguration($loader);
     $loader->load(__DIR__ . '/config/migrations.yml');
 }