\Vegas\DI\ServiceComponentInterface

Interface ComponentInterface

Summary

Methods
Constants
__construct()
setRenderer()
getRenderer()
render()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setRenderer()

setRenderer(\Vegas\DI\Service\Component\RendererInterface $renderer) : $this|mixed

Sets renderer object and setups module and template name

Parameters

\Vegas\DI\Service\Component\RendererInterface $renderer

Returns

$this|mixed

getRenderer()

getRenderer() : mixed

Returns renderer instance

Returns

mixed

render()

render(array $params) : mixed

Renders component content using provided renderer or default renderer

Parameters

array $params

Returns

mixed