PHP Class Smile\ElasticsuiteSwatches\Block\Navigation\Renderer\Swatches

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Smile\ElasticsuiteCatalog\Block\Navigation\Renderer\AbstractRenderer
Show file Open project: smile-sa/elasticsuite

Protected Properties

Property Type Description
$block string

Public Methods

Method Description
__construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Swatches\Helper\Data $swatchHelper, array $data = [] ) Constructor.

Protected Methods

Method Description
_toHtml ( )
canRenderFilter ( ) {@inheritDoc}

Method Details

__construct() public method

Constructor.
public __construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Swatches\Helper\Data $swatchHelper, array $data = [] )
$context Magento\Framework\View\Element\Template\Context Template context.
$swatchHelper Magento\Swatches\Helper\Data Swatch helper.
$data array Custom data.

_toHtml() protected method

protected _toHtml ( )

canRenderFilter() protected method

{@inheritDoc}
protected canRenderFilter ( )

Property Details

$block protected property

protected string $block
return string