PHP 클래스 Isswp101\Persimmon\DAL\ElasticsearchDAL

상속: implements Isswp101\Persimmon\DAL\IDAL
파일 보기 프로젝트 열기: isswp101/elasticsearch-eloquent

보호된 프로퍼티들

프로퍼티 타입 설명
$client
$emitter
$model

공개 메소드들

메소드 설명
__construct ( ElasticsearchModel $model, Elasticsearch\Client $client, EventEmitter $emitter )
delete ( )
get ( $id, array $options = [] )
getEventEmitter ( )
getModel ( )
put ( array $columns = ['*'] )
search ( array $query )
setModel ( Model $model )

보호된 메소드들

메소드 설명
getParams ( )

메소드 상세

__construct() 공개 메소드

public __construct ( ElasticsearchModel $model, Elasticsearch\Client $client, EventEmitter $emitter )
$model Isswp101\Persimmon\ElasticsearchModel
$client Elasticsearch\Client
$emitter Isswp101\Persimmon\Event\EventEmitter

delete() 공개 메소드

public delete ( )

get() 공개 메소드

public get ( $id, array $options = [] )
$options array

getEventEmitter() 공개 메소드

public getEventEmitter ( )

getModel() 공개 메소드

public getModel ( )

getParams() 보호된 메소드

protected getParams ( )

put() 공개 메소드

public put ( array $columns = ['*'] )
$columns array

setModel() 공개 메소드

public setModel ( Model $model )
$model Isswp101\Persimmon\Model

프로퍼티 상세

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

protected $client

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

protected $emitter

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

protected $model