]> Raphaƫl G. Git Repositories - blog/blob - src/Kernel.php
Add config reference php file
[blog] / src / Kernel.php
1 <?php declare(strict_types=1);
2
3 namespace App;
4
5 use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
6 use Symfony\Component\HttpKernel\Kernel as BaseKernel;
7
8 class Kernel extends BaseKernel {
9 use MicroKernelTrait;
10
11 /**
12 * @return list<string> An array of allowed values for APP_ENV
13 */
14 private function getAllowedEnvs(): array {
15 return ['prod', 'dev', 'test'];
16 }
17 }