\Vegas\DI\Service\ComponentRendererInterface

Interface RendererInterface

Summary

Methods
Constants
__construct()
setModuleName()
setTemplateName()
render()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

__construct()

__construct(\Phalcon\Mvc\View $view)

Constructor Sets view instance

Parameters

\Phalcon\Mvc\View $view

setModuleName()

setModuleName( $name) : $this

Sets name of template

Parameters

$name

Returns

$this

setTemplateName()

setTemplateName( $name) : $this

Sets name of module

Parameters

$name

Returns

$this

render()

render(array $params) : string|void

Renders component's content from view

Parameters

array $params

Returns

string|void