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));
});
}
}