/** * remove the template name from the parameters * * @param array $parameters * @param null|OperationInterface $operation */ public function __construct($parameters = array(), OperationInterface $operation = null) { parent::__construct($parameters, $operation); if (isset($parameters[self::TEMPLATE_VARIABLES]) === true) { $this->templateVariables = $parameters[self::TEMPLATE_VARIABLES]; } }