for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
/**
* Class AppKernel.
final class AppKernel extends Kernel
{
* {@inheritdoc}
public function registerBundles()
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Http\HttplugBundle\HttplugBundle(),
new Jose\Bundle\JoseFramework\JoseFrameworkBundle(),
new Jose\Bundle\KeyManagement\KeyManagementBundle(),
new Jose\Bundle\Console\ConsoleBundle(),
new Jose\Bundle\Checker\CheckerBundle(),
new Jose\Bundle\Signature\SignatureBundle(),
new Jose\Bundle\Encryption\EncryptionBundle(),
new Jose\Test\TestBundle\TestBundle(),
];
return $bundles;
}
public function getCacheDir()
return sys_get_temp_dir().'/Jose/Bundle/Test';
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');