Renderable ​
- Type
- Interface
- Namespace
- craft\base
- Implemented by
- craft\base\ElementInterface
- Since
- 5.12.0
Renderable defines the common interface to be implemented by objects that can be rendered as HTML.
Public Methods ​
| Method | Description |
|---|---|
| render() | Renders the object. |
render() ​
Renders the object.
Arguments ​
$variables(array) – Variables that should be made available to the rendered template
Returns ​
\Twig\Markup