Joli\GifExceptionBundle\Tests\app\AppKernel::registerContainerConfiguration PHP Method

registerContainerConfiguration() public method

public registerContainerConfiguration ( Symfony\Component\Config\Loader\LoaderInterface $loader )
$loader Symfony\Component\Config\Loader\LoaderInterface
    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $loader->load($this->getRootDir() . '/config/config.yml');
        // graciously stolen from https://github.com/javiereguiluz/EasyAdminBundle/blob/master/Tests/Fixtures/App/AppKernel.php#L39-L45
        if (3 === static::MAJOR_VERSION) {
            $loader->load(function (ContainerBuilder $container) {
                $container->loadFromExtension('framework', array('assets' => null));
            });
        }
    }