| 1 | <?php |
||
| 12 | class PreRenderActionEvent extends ActionEvent |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $template; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $templateVars; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param ActionInterface $action |
||
| 26 | * @param string $template |
||
| 27 | * @param array $templateVars |
||
| 28 | */ |
||
| 29 | public function __construct(ActionInterface $action, $template, array $templateVars) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getTemplate() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return array |
||
| 47 | */ |
||
| 48 | public function getTemplateVars() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $template |
||
| 55 | */ |
||
| 56 | public function setTemplate($template) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param array $templateVars |
||
| 63 | */ |
||
| 64 | public function setTemplateVars($templateVars) |
||
| 68 | } |
||
| 69 |