\Omega\View\Engine EngineInterface

Engine interface.

The RendererInterface defines the contract for rendering views in the Omega system. Classes implementing this interface must provide a way to render a View object and allow setting the ViewManager to be used for rendering.

Summary

Methods
Constants
render()
setManager()
No public constants found

Methods

render()

render(\Omega\View\View  $view) : string

Render a view.

This method is responsible for rendering a View object and processing its contents.

Parameters

\Omega\View\View $view

Holds an instance of View.

Returns

string —

Return the view.

setManager()

setManager(\Omega\View\ViewManager  $viewManager) : $this

Set the view manager to use.

Parameters

\Omega\View\ViewManager $viewManager

Holds an instance of ViewManager.

Returns

$this —