class AccessTokenFilterer extends AbstractFilterer

Traits

Properties

protected $filters from AbstractFilterer
protected $filterMutators from AbstractFilterer

Methods

applySort(AbstractQueryState $query, array $sort = null, bool $sortIsDefault = false)

<p>Apply sort criteria to a discussion query.</p>

applyOffset(AbstractQueryState $query, int $offset)

No description

applyLimit(AbstractQueryState $query, int|null $limit)

No description

__construct(array $filters, array $filterMutators)

No description

Builder
getQuery(User $actor)

No description

filter(QueryCriteria $criteria, int $limit = null, int $offset = 0)

No description

Details

protected applySort(AbstractQueryState $query, array $sort = null, bool $sortIsDefault = false)

<p>Apply sort criteria to a discussion query.</p>

Parameters

AbstractQueryState $query
array $sort
bool $sortIsDefault

protected applyOffset(AbstractQueryState $query, int $offset)

Parameters

AbstractQueryState $query
int $offset

protected applyLimit(AbstractQueryState $query, int|null $limit)

Parameters

AbstractQueryState $query
int|null $limit

__construct(array $filters, array $filterMutators)

Parameters

array $filters
array $filterMutators

protected Builder getQuery(User $actor)

Parameters

User $actor

Return Value

Builder

QueryResults filter(QueryCriteria $criteria, int $limit = null, int $offset = 0)

Parameters

QueryCriteria $criteria
int $limit
int $offset

Return Value

QueryResults

Exceptions

InvalidArgumentException