TestKernel.php in Simple Analytics 1.104, at tests/TestKernel.php
| 1 | <?php |
| 2 | |
| 3 | namespace Tests; |
| 4 | |
| 5 | use Symfony\Component\HttpKernel\Kernel; |
| 6 | use Symfony\Component\Config\Loader\LoaderInterface; |
| 7 | |
| 8 | final class TestKernel extends Kernel |
| 9 | { |
| 10 | public function registerBundles(): iterable |
| 11 | { |
| 12 | return []; |
| 13 | } |
| 14 | |
| 15 | public function registerContainerConfiguration(LoaderInterface $loader): void |
| 16 | { |
| 17 | // no-op |
| 18 | } |
| 19 | |
| 20 | public function getProjectDir(): string |
| 21 | { |
| 22 | return dirname(__DIR__); |
| 23 | } |
| 24 | } |
| 25 |