PHP 클래스 Locker\Repository\Statement\EloquentIndexer

상속: extends EloquentReader, implements Locker\Repository\Statement\IndexerInterface
파일 보기 프로젝트 열기: learninglocker/learninglocker

보호된 프로퍼티들

프로퍼티 타입 설명
$formatter

공개 메소드들

메소드 설명
__construct ( )
count ( Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts ) : Int Counts statements.
format ( Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts ) : [Model] Formats statements.
index ( IndexOptions $opts ) : [Model] Gets all of the available models with the options.

비공개 메소드들

메소드 설명
addWhere ( Jenssegers\Mongodb\Eloquent\Builder $builder, String $key, Mixed $value, $op = '=' ) : Jenssegers\Mongodb\Eloquent\Builder Adds where to builder.
addWheres ( Jenssegers\Mongodb\Eloquent\Builder $builder, array $keys, Mixed $value ) : Jenssegers\Mongodb\Eloquent\Builder Adds wheres to builder.
constructFilterOpts ( Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts, array $builders ) : Jenssegers\Mongodb\Eloquent\Builder Extends a given Builder using the given options and option builders.
matchActivity ( String $activity, Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts ) : Jenssegers\Mongodb\Eloquent\Builder Constructs a Mongo match using the given activity and options.
matchAgent ( stdClass $agent, Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts ) : Jenssegers\Mongodb\Eloquent\Builder Constructs a builder using the given agent and options.
matchAgentProp ( String $prop, Mixed $value, Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts ) : Jenssegers\Mongodb\Eloquent\Builder Constructs a builder using the given agent property and value, plus options.

메소드 상세

__construct() 공개 메소드

public __construct ( )

count() 공개 메소드

Counts statements.
public count ( Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts ) : Int
$builder Jenssegers\Mongodb\Eloquent\Builder
$opts IndexOptions
리턴 Int Number of statements in Builder.

format() 공개 메소드

Formats statements.
public format ( Jenssegers\Mongodb\Eloquent\Builder $builder, IndexOptions $opts ) : [Model]
$builder Jenssegers\Mongodb\Eloquent\Builder
$opts IndexOptions
리턴 [Model]

index() 공개 메소드

Gets all of the available models with the options.
public index ( IndexOptions $opts ) : [Model]
$opts IndexOptions
리턴 [Model]

프로퍼티 상세

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

protected $formatter