for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace examples\Clearcode\CommandBusConsole\App;
use Matthias\SymfonyConsoleForm\Bundle\SymfonyConsoleFormBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use SimpleBus\SymfonyBridge\SimpleBusCommandBusBundle;
use Clearcode\CommandBusConsole\Bundle\CommandBusConsoleBundle;
class AppKernel extends Kernel
{
/** {@inheritdoc} */
public function registerBundles()
return [
new FrameworkBundle(),
new SimpleBusCommandBusBundle(),
new SymfonyConsoleFormBundle(),
new CommandBusConsoleBundle(),
];
}
public function getCacheDir()
return $this->tmpDir().'/cache';
public function getLogDir()
return $this->tmpDir().'/logs';
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config.yml');
private function tmpDir()
return sys_get_temp_dir().'/clearcode_command_bus_console_examples';