PHP Class Smile\ElasticsuiteCatalog\Model\Autocomplete\Product\Attribute\ItemFactory

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Magento\Search\Model\Autocomplete\ItemFactory
Mostra file Open project: smile-sa/elasticsuite Class Usage Examples

Public Methods

Method Description
__construct ( Magento\Framework\ObjectManagerInterface $objectManager, Magento\Framework\UrlInterface $urlBuilder ) Constructor.
create ( array $data ) {@inheritDoc}

Private Methods

Method Description
getUrl ( array $data ) : string Returns autocompelete result URL.

Method Details

__construct() public method

Constructor.
public __construct ( Magento\Framework\ObjectManagerInterface $objectManager, Magento\Framework\UrlInterface $urlBuilder )
$objectManager Magento\Framework\ObjectManagerInterface Object manager used to instantiate new item.
$urlBuilder Magento\Framework\UrlInterface URL Builder

create() public method

{@inheritDoc}
public create ( array $data )
$data array