RenderStrategy
RenderStrategy.php
:
20
Strategy to decide, based on ValueObject descendant type, which renderer to pick (like RenderContentStrategy or else). To be used mainly by rendering abstraction Twig helpers, but may be used to inline rendering of Ibexa VOs anywhere.
Methods¶
render() ¶
RenderStrategy.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$valueObject | ValueObject | - | - |
$options | RenderOptions | - | - |
Return values
string
supports() ¶
RenderStrategy.php
:
22
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$valueObject | ValueObject | - | - |
Return values
bool