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

Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension
Afficher le fichier Open project: wellcommerce/wellcommerce

Protected Properties

Свойство Type Description
$renderer WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRendererInterface

Méthodes publiques

Méthode 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 méthode

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

getFunctions() public méthode

public getFunctions ( )

getLayoutBoxContent() public méthode

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

getName() public méthode

public getName ( )

Property Details

$renderer protected_oe property

protected LayoutBoxRendererInterface,WellCommerce\Bundle\LayoutBundle\Renderer $renderer
Résultat WellCommerce\Bundle\LayoutBundle\Renderer\LayoutBoxRendererInterface