PHP Класс Smile\ElasticsuiteCore\Index\Type

Автор: Aurelien FOUCRET ([email protected])
Наследование: implements Smile\ElasticsuiteCore\Api\Index\TypeInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $name, Smile\ElasticsuiteCore\Api\Index\MappingInterface $mapping, array $datasources = [] ) Type construcor.
getDatasource ( $name )
getDatasources ( )
getIdField ( ) {@inheritDoc}
getMapping ( )
getName ( )

Описание методов

__construct() публичный метод

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 getDatasource ( $name )

getDatasources() публичный метод

public getDatasources ( )

getIdField() публичный метод

{@inheritDoc}
public getIdField ( )

getMapping() публичный метод

public getMapping ( )

getName() публичный метод

public getName ( )