| 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 WebView::render()} |
||
| 18 | * or {@see WebView::renderFile()} method. |
||
| 19 | */ |
||
| 20 | 48 | public function __construct( |
|
| 21 | private WebView $view, |
||
| 22 | private string $file, |
||
| 23 | private array $parameters, |
||
| 24 | private string $result |
||
| 25 | ) { |
||
| 26 | 48 | } |
|
| 27 | |||
| 28 | 1 | public function getView(): WebView |
|
| 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 | 48 | public function getResult(): string |
|
| 48 |