PendingScope
extends BaseScope
in package
Class PendingScope.
Table of Contents
Properties
Methods
- __construct() : mixed
- PendingScope constructor.
- apply() : mixed
- applyQueryBuilder() : void
- getUserContext() : User
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- setUserContext() : PendingScope
- alias() : string
Properties
$user
protected
User
$user
Methods
__construct()
PendingScope constructor.
public
__construct(User $user) : mixed
Parameters
- $user : User
apply()
public
apply(Builder $builder, Model $model) : mixed
Parameters
- $builder : Builder
- $model : Model
applyQueryBuilder()
public
applyQueryBuilder(Builder $builder) : void
Parameters
- $builder : Builder
getUserContext()
public
getUserContext() : User
Return values
UserlikeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringsetUserContext()
public
setUserContext(User $user) : PendingScope
Parameters
- $user : User
Return values
PendingScopealias()
protected
alias(string $table, string $column) : string
Parameters
- $table : string
- $column : string