for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace RabbitMqModule\Controller;
use Interop\Container\ContainerInterface;
use Zend\Mvc\Console\Controller\AbstractConsoleController as BaseController;
/**
* Class AbstractConsoleController
* @package RabbitMqModule\Controller
*/
class AbstractConsoleController extends BaseController
{
* @var ContainerInterface
protected $container;
* ConsumerController constructor.
*
* @param ContainerInterface $container
public function __construct(ContainerInterface $container)
$this->container = $container;
}
* @return ContainerInterface
protected function getServiceLocator()
return $this->container;