Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | final class AfterRender implements AfterRenderEventInterface |
||
14 | { |
||
15 | /** |
||
16 | * @param string $file The view file being rendered. |
||
17 | * @param array $parameters The parameters array passed to the {@see View::render()} or {@see View::renderFile()} |
||
18 | * method. |
||
19 | */ |
||
20 | 16 | public function __construct( |
|
21 | private View $view, |
||
22 | private string $file, |
||
23 | private array $parameters, |
||
24 | private string $result |
||
25 | ) { |
||
26 | 16 | } |
|
27 | |||
28 | 1 | public function getView(): View |
|
29 | { |
||
30 | 1 | return $this->view; |
|
31 | } |
||
32 | |||
33 | 1 | public function getFile(): string |
|
36 | } |
||
37 | |||
38 | 1 | public function getParameters(): array |
|
41 | } |
||
42 | |||
43 | 16 | public function getResult(): string |
|
46 | } |
||
47 | } |
||
48 |