. */ /* */ /*************************************************************************************/ namespace Thelia\Action; use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** * * * @author Manuel Raynaud */ abstract class BaseAction { /** * * @var \Symfony\Component\EventDispatcher\EventDispatcherInterface */ protected $dispatcher; /** * * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher */ public function __construct(EventDispatcherInterface $dispatcher) { $this->dispatcher = $dispatcher; } /** * * @return \Symfony\Component\EventDispatcher\EventDispatcherInterface */ public function getDispatcher() { return $this->dispatcher; } }