Smile\ElasticsuiteCore\Api\Index\TypeInterface::getDatasource PHP Method

getDatasource() public method

Retrieve a datasource by name for the current type.
public getDatasource ( string $name ) : Smile\ElasticsuiteCore\Api\Index\DatasourceInterface
$name string Datasource name.
return Smile\ElasticsuiteCore\Api\Index\DatasourceInterface
    public function getDatasource($name);