1<?php 2 3/* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12namespace Symfony\Component\HttpKernel\Tests\Fixtures; 13 14use Symfony\Component\Config\Loader\LoaderInterface; 15use Symfony\Component\DependencyInjection\ContainerBuilder; 16use Symfony\Component\HttpKernel\Kernel; 17 18class KernelWithoutBundles extends Kernel 19{ 20 public function registerBundles() 21 { 22 return []; 23 } 24 25 public function registerContainerConfiguration(LoaderInterface $loader) 26 { 27 } 28 29 protected function build(ContainerBuilder $container) 30 { 31 $container->setParameter('test_executed', true); 32 } 33} 34