PHP Class WellCommerce\Bundle\LayoutBundle\Twig\Extension\LayoutBoxExtension

Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension
Mostrar archivo Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$renderer WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRendererInterface

Public Methods

Method Description
__construct ( WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRendererInterface $renderer ) Constructor
getFunctions ( )
getLayoutBoxContent ( string $identifier, array $params = [] ) : string Returns layout box content
getName ( )

Method Details

__construct() public method

Constructor
public __construct ( WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRendererInterface $renderer )
$renderer WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRendererInterface

getFunctions() public method

public getFunctions ( )

getLayoutBoxContent() public method

Returns layout box content
public getLayoutBoxContent ( string $identifier, array $params = [] ) : string
$identifier string
$params array
return string

getName() public method

public getName ( )

Property Details

$renderer protected_oe property

protected LayoutBoxRendererInterface,WellCommerce\Bundle\LayoutBundle\Renderer $renderer
return WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRendererInterface