TypeScope
extends BaseScope
in package
Class TypeScope.
Tags
Table of Contents
Properties
- $tableAlias : string
- $typeRepository : TypeRepositoryInterface
Methods
- __construct() : mixed
- apply() : mixed
- applyQueryBuilder() : void
- getTableAlias() : string|null
- Get the value of tableAlias.
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- setTableAlias() : self
- Set the value of tableAlias.
- alias() : string
Properties
$tableAlias
private
string
$tableAlias
= null
$typeRepository
private
TypeRepositoryInterface
$typeRepository
Methods
__construct()
public
__construct(TypeRepositoryInterface $typeRepository) : mixed
Parameters
- $typeRepository : TypeRepositoryInterface
apply()
public
apply(Builder $builder, Model $model) : mixed
Parameters
- $builder : Builder
- $model : Model
applyQueryBuilder()
public
applyQueryBuilder(Builder $builder) : void
Parameters
- $builder : Builder
getTableAlias()
Get the value of tableAlias.
public
getTableAlias() : string|null
Return values
string|nulllikeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringsetTableAlias()
Set the value of tableAlias.
public
setTableAlias(string $tableAlias) : self
Parameters
- $tableAlias : string
Return values
selfalias()
protected
alias(string $table, string $column) : string
Parameters
- $table : string
- $column : string