PHP Class Smile\ElasticsuiteCore\Index\Type

Author: Aurelien FOUCRET ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Api\Index\TypeInterface
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( string $name, Smile\ElasticsuiteCore\Api\Index\MappingInterface $mapping, array $datasources = [] ) Type construcor.
getDatasource ( $name )
getDatasources ( )
getIdField ( ) {@inheritDoc}
getMapping ( )
getName ( )

Method Details

__construct() public method

Type construcor.
public __construct ( string $name, Smile\ElasticsuiteCore\Api\Index\MappingInterface $mapping, array $datasources = [] )
$name string Name of the type.
$mapping Smile\ElasticsuiteCore\Api\Index\MappingInterface Mapping of the type.
$datasources array Datasources of the type.

getDatasource() public method

public getDatasource ( $name )

getDatasources() public method

public getDatasources ( )

getIdField() public method

{@inheritDoc}
public getIdField ( )

getMapping() public method

public getMapping ( )

getName() public method

public getName ( )