PHP Class Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\FlyweightFactory

Author: Romain Ruaud ([email protected])
Inheritance: extends Magento\Config\Model\Config\Structure\Element\FlyweightFactory
Show file Open project: smile-sa/elasticsuite

Protected Properties

Property Type Description
$flyweightMap array Map of flyweight types

Public Methods

Method Description
create ( string $type ) : Magento\Config\Model\Config\Structure\ElementInterface Create element flyweight flyweight

Method Details

create() public method

Create element flyweight flyweight
public create ( string $type ) : Magento\Config\Model\Config\Structure\ElementInterface
$type string The element type
return Magento\Config\Model\Config\Structure\ElementInterface

Property Details

$flyweightMap protected property

Map of flyweight types
protected array $flyweightMap
return array