SCOPE_PERSONAL
SCOPE_PERSONAL
Chat message model
scopeAfter(\Illuminate\Database\Eloquent\Builder $query, \Illuminate\Database\Eloquent\Model|mixed $model) : \Illuminate\Database\Eloquent\Builder
Modifies the query to only return entries after a particular entry
\Illuminate\Database\Eloquent\Builder | $query | |
\Illuminate\Database\Eloquent\Model|mixed | $model | Model instance or value of primary key |
canUsePublicScope(string $scopeName, \App\User|null $user = null) : boolean|integer|mixed
Returns whether a certain user can use a particular scope
string | $scopeName | |
\App\User|null | $user |
validatePublicScopeParams(string $scopeName, array<mixed,string>|\Illuminate\Support\Collection $columnNames) : boolean
Determines whether the user is allowed to additionally limit his query with provided column names when requesting a particular scope
string | $scopeName | |
array<mixed,string>|\Illuminate\Support\Collection | $columnNames |