for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
/**
* AppKernel for functional tests.
class AppKernel extends Kernel
{
* {@inheritdoc}
public function registerBundles()
return [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new \ONGR\ElasticsearchBundle\ONGRElasticsearchBundle(),
new Sulu\Bundle\ElasticsearchActivityLogBundle\ElasticsearchActivityLogBundle(),
];
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__ . '/config/config.yml');
* Checks if a given class name belongs to an active bundle.
* @param string $class A class name
* @return bool true if the class belongs to an active bundle, false otherwise
* @deprecated since version 2.6, to be removed in 3.0.
public function isClassInActiveBundle($class)
$class
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return true;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.