PHP 클래스 Flarum\Core\Post\RegisteredTypesScope

상속: implements Illuminate\Database\Eloquent\ScopeInterface
파일 보기 프로젝트 열기: flarum/core

보호된 프로퍼티들

프로퍼티 타입 설명
$bindingCount integer The number of where bindings we added.
$bindingIndex integer The index at which we added where bindings.
$whereIndex integer The index at which we added a where clause.

공개 메소드들

메소드 설명
apply ( Builder $builder, Model $post ) : void Apply the scope to a given Eloquent query builder.
remove ( Builder $builder, Model $post ) : void Remove the scope from the given Eloquent query builder.

메소드 상세

apply() 공개 메소드

Apply the scope to a given Eloquent query builder.
public apply ( Builder $builder, Model $post ) : void
$builder Illuminate\Database\Eloquent\Builder
$post Illuminate\Database\Eloquent\Model
리턴 void

remove() 공개 메소드

Remove the scope from the given Eloquent query builder.
public remove ( Builder $builder, Model $post ) : void
$builder Illuminate\Database\Eloquent\Builder
$post Illuminate\Database\Eloquent\Model
리턴 void

프로퍼티 상세

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

The number of where bindings we added.
protected int $bindingCount
리턴 integer

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

The index at which we added where bindings.
protected int $bindingIndex
리턴 integer

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

The index at which we added a where clause.
protected int $whereIndex
리턴 integer