* Date: 26/04/2017 11:04 */ namespace TemplateSwitcher\Events; use Thelia\Core\Event\ActionEvent; class TemplateSwitcherEvent extends ActionEvent { const SWITCH_TEMPLATE_EVENT = "templateswitcher.switch-to"; /** @var string */ protected $templateName; /** * TemplateSwitcherEvent constructor. * @param string $templateName */ public function __construct($templateName) { $this->templateName = $templateName; } /** * @return string */ public function getTemplateName() { return $this->templateName; } /** * @param string $templateName * @return $this */ public function setTemplateName($templateName) { $this->templateName = $templateName; return $this; } }