for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Itkg\TranslationBundle\ItkgTranslationBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Symfony\Component\HttpKernel\Kernel;
/**
* Class AppKernel
*/
class AppKernel extends Kernel
{
* Returns an array of bundles to register.
*
* @return BundleInterface[] An array of bundle instances.
* @api
public function registerBundles()
return array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new ItkgTranslationBundle()
);
}
* Loads the container configuration.
* @param LoaderInterface $loader A LoaderInterface instance
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config.yml');