class RenderingContext extends RenderingContext implements FlowAwareRenderingContextInterface (View source)

A Fluid rendering context specifically to be used in conjunction with Flow.

This knows about the ControllerContext and ObjectManager.

Properties

protected array $expressionNodeTypes

List of class names implementing ExpressionNodeInterface which will be consulted when an expression does not match any built-in parser expression types.

protected ControllerContext $controllerContext
protected ObjectManagerInterface $objectManager
protected ViewHelperResolver $viewHelperResolver
protected CacheAdaptor $cache
protected Configuration $parserConfiguration

Methods

__construct(array $options = [])

RenderingContext constructor.

injectObjectManager(ObjectManagerInterface $objectManager)

No description

setControllerContext(ControllerContext $controllerContext)

No description

Configuration
buildParserConfiguration()

Build parser configuration

void
setOption(string $optionName, mixed $value)

Set a specific option of this View

Details

__construct(array $options = [])

RenderingContext constructor.

Parameters

array $options

injectObjectManager(ObjectManagerInterface $objectManager)

No description

Parameters

ObjectManagerInterface $objectManager

ControllerContext getControllerContext()

No description

Return Value

ControllerContext

setControllerContext(ControllerContext $controllerContext)

No description

Parameters

ControllerContext $controllerContext

ObjectManagerInterface getObjectManager()

No description

Return Value

ObjectManagerInterface

Configuration buildParserConfiguration()

Build parser configuration

Return Value

Configuration

void setOption(string $optionName, mixed $value)

Set a specific option of this View

Parameters

string $optionName
mixed $value

Return Value

void

Exceptions

Exception