for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Symfony CMF package.
*
* (c) 2011-2017 Symfony CMF
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Symfony\Cmf\Component\Testing\HttpKernel\TestKernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends TestKernel
{
public function configure()
$this->requireBundleSet('default');
$this->requireBundleSets(array(
'phpcr_odm',
'sonata_admin_phpcr',
));
$this->addBundles(array(
new Symfony\Cmf\Bundle\ResourceBundle\CmfResourceBundle(),
new Symfony\Cmf\Bundle\ResourceRestBundle\CmfResourceRestBundle(),
new JMS\SerializerBundle\JMSSerializerBundle(),
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config/config.php');
$loader->load(__DIR__.'/config/admin-test.xml');