Final Class Yiisoft\View\Event\View\AfterRender
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
AfterRender event is triggered by {@see View::render()} right after it renders a view file.
Public Methods
Method Details
| public mixed __construct ( Yiisoft\ | ||
| $view | Yiisoft\ |
|
| $file | string |
The view file being rendered. |
| $parameters | array |
The parameters array passed to the {@see \ |
| $result | string | |
public function __construct(
private readonly View $view,
private readonly string $file,
private readonly array $parameters,
private readonly string $result,
) {}
User Contributed Notes
Leave a comment
Join the conversation to share a note.