D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
api2
/
vendor
/
web-token
/
jwt-framework
/
tests
/
Bundle
/
JoseFramework
/
Filename :
AppKernel.php
back
Copy
<?php declare(strict_types=1); /* * The MIT License (MIT) * * Copyright (c) 2014-2020 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ namespace Jose\Tests\Bundle\JoseFramework; /* * The MIT License (MIT) * * Copyright (c) 2014-2019 Spomky-Labs * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ use Jose\Bundle\JoseFramework\JoseFrameworkBundle; use Jose\Tests\Bundle\JoseFramework\TestBundle\TestBundle; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\HttpKernel\Bundle\BundleInterface; use Symfony\Component\HttpKernel\Kernel; /** * Class AppKernel. */ class AppKernel extends Kernel { public function __construct(string $environment) { parent::__construct($environment, false); } /** * @return BundleInterface[] */ public function registerBundles(): array { return [ new FrameworkBundle(), new JoseFrameworkBundle(), new TestBundle(), ]; } public function registerContainerConfiguration(LoaderInterface $loader): void { $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); } }