An error occurred while loading the file. Please try again.
-
a4d0cd67
<?php declare(strict_types=1);
/**
* Copyright (C) 2019 IRSTEA
* All rights reserved.
*
* @copyright 2019 IRSTEA
* @author guillaume.perreal
*/
namespace Irstea\NgModelGeneratorBundle\Tests\Fixtures;
use ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle;
use Irstea\NgModelGeneratorBundle\NgModelGeneratorBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Bundle\TwigBundle\TwigBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\HttpKernel\KernelInterface;
use Symfony\Component\Routing\RouteCollectionBuilder;
/**
* Class TestKernel
*/
final class TestKernel extends Kernel
{
use MicroKernelTrait;
/**
* @inheritDoc
*/
public function registerBundles()
{
return [
new FrameworkBundle(),
new ApiPlatformBundle(),
new TwigBundle(),
new NgModelGeneratorBundle()
];
}
/**
* @inheritDoc
*/
protected function configureRoutes(RouteCollectionBuilder $routes)
{
}
/**
* @inheritDoc
*/
protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader)
{
$loader->load(__DIR__ . '/config/services.yml', 'yaml');
// TODO: Implement configureContainer() method.
}
}