Interface Yiisoft\View\TemplateRendererInterface
| Implemented by | Yiisoft\ |
|---|
TemplateRendererInterface is the interface that should be implemented by view template renderers.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| render() | Renders a template file. | Yiisoft\ |
Method Details
Renders a template file.
{@see \
| public abstract string render ( Yiisoft\ | ||
| $view | Yiisoft\ |
The view instance used for rendering the file. |
| $template | string |
The template file to render. |
| $parameters | array |
The parameters to be passed to the view file. |
| return | string |
The rendering result. |
|---|---|---|
public function render(ViewInterface $view, string $template, array $parameters): string;
User Contributed Notes
Leave a comment
Join the conversation to share a note.