Initial commit
This commit is contained in:
26
tests/TestKernel.php
Normal file
26
tests/TestKernel.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pcm\ExampleBundle\Tests;
|
||||
|
||||
use Pcm\ExampleBundle\PcmExampleBundle;
|
||||
use Symfony\Component\Config\Loader\LoaderInterface;
|
||||
use Symfony\Component\HttpKernel\Kernel;
|
||||
|
||||
final class TestKernel extends Kernel
|
||||
{
|
||||
public function registerBundles(): array
|
||||
{
|
||||
return [
|
||||
new PcmExampleBundle()
|
||||
];
|
||||
}
|
||||
|
||||
public function registerContainerConfiguration(LoaderInterface $loader): void
|
||||
{
|
||||
// Ignore this
|
||||
// $loader->load(__DIR__.'/../config/packages/pcm_example.yaml');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user