PHP 클래스 Cviebrock\LaravelElasticsearch\Factory

파일 보기 프로젝트 열기: cviebrock/laravel-elasticsearch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$configMappings array Map configuration array keys with ES ClientBuilder setters

공개 메소드들

메소드 설명
make ( array $config ) : Elasticsearch\Client | mixed Make the Elasticsearch client for the given named configuration, or the default client.

보호된 메소드들

메소드 설명
buildClient ( array $config ) : Elasticsearch\Client Build and configure an Elasticsearch client.

메소드 상세

buildClient() 보호된 메소드

Build and configure an Elasticsearch client.
protected buildClient ( array $config ) : Elasticsearch\Client
$config array
리턴 Elasticsearch\Client

make() 공개 메소드

Make the Elasticsearch client for the given named configuration, or the default client.
public make ( array $config ) : Elasticsearch\Client | mixed
$config array
리턴 Elasticsearch\Client | mixed

프로퍼티 상세

$configMappings 보호되어 있는 프로퍼티

Map configuration array keys with ES ClientBuilder setters
protected array $configMappings
리턴 array