FeaturedScope
extends BaseScope
in package
Class FeaturedScopeFeaturedScope.
Table of Contents
Properties
- $isFeatured : int|null
Methods
- __construct() : mixed
- FeaturedScopeFeaturedScope constructor.
- apply() : mixed
- applyQueryBuilder() : void
- getIsFeatured() : int|null
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- setIsFeatured() : $this
- alias() : string
Properties
$isFeatured
protected
int|null
$isFeatured
= null
Methods
__construct()
FeaturedScopeFeaturedScope constructor.
public
__construct([int|null $isFeatured = null ]) : mixed
Parameters
- $isFeatured : int|null = null
apply()
public
apply(Builder $builder, Model $model) : mixed
Parameters
- $builder : Builder
- $model : Model
applyQueryBuilder()
public
applyQueryBuilder(Builder $builder) : void
Parameters
- $builder : Builder
getIsFeatured()
public
getIsFeatured() : int|null
Return values
int|nulllikeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringsetIsFeatured()
public
setIsFeatured(int|null $isFeatured) : $this
Parameters
- $isFeatured : int|null
Return values
$thisalias()
protected
alias(string $table, string $column) : string
Parameters
- $table : string
- $column : string