Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
12 | class AfterCallActionEvent extends CallActionEventAbstract |
||
13 | { |
||
14 | /** |
||
15 | * @var ResponseInterface |
||
16 | */ |
||
17 | private $response; |
||
18 | |||
19 | /** |
||
20 | * AfterCallActionEvent constructor. |
||
21 | * @param string $controllerName |
||
22 | * @param string $actionName |
||
23 | * @param array $actionParams |
||
24 | * @param $response |
||
25 | */ |
||
26 | public function __construct(string $controllerName, string $actionName, array $actionParams, $response) |
||
27 | { |
||
28 | $this->response = $response; |
||
29 | |||
30 | parent::__construct($controllerName, $actionName, $actionParams); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return ResponseInterface |
||
35 | */ |
||
36 | public function getResponse(): ResponseInterface |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param ResponseInterface $response |
||
43 | */ |
||
44 | public function setResponse(ResponseInterface $response): void |
||
49 |