for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace OldSound\RabbitMqBundle\Command;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Console\Command\Command;
abstract class BaseRabbitMqCommand extends Command implements ContainerAwareInterface
{
/**
* @var ContainerInterface
*/
protected $container;
* {@inheritDoc}
public function setContainer(ContainerInterface $container = null)
$this->container = $container;
}
* @return ContainerInterface
public function getContainer()
return $this->container;