Notice: Undefined variable: namespace in /home/developer/public_html/elfann.com/vendor/symfony/maker-bundle/src/Resources/skeleton/test/KernelTestCase.tpl.php on line 3
; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; class
Notice: Undefined variable: class_name in /home/developer/public_html/elfann.com/vendor/symfony/maker-bundle/src/Resources/skeleton/test/KernelTestCase.tpl.php on line 7
extends KernelTestCase { public function testSomething(): void { $kernel = self::bootKernel(); $this->assertSame('test', $kernel->getEnvironment()); // $routerService =
Notice: Undefined variable: use_legacy_container_property in /home/developer/public_html/elfann.com/vendor/symfony/maker-bundle/src/Resources/skeleton/test/KernelTestCase.tpl.php on line 14
static::getContainer()->get('router'); // $myCustomService =
Notice: Undefined variable: use_legacy_container_property in /home/developer/public_html/elfann.com/vendor/symfony/maker-bundle/src/Resources/skeleton/test/KernelTestCase.tpl.php on line 15
static::getContainer()->get(CustomService::class); } }