MetaFox

TypeScope extends BaseScope
in package

Class TypeScope.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

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

Methods

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|null

likeOperator()

return the case-insensitive LIKE operator bases on the current database driver.

public likeOperator() : string
Return values
string

setTableAlias()

Set the value of tableAlias.

public setTableAlias(string $tableAlias) : self
Parameters
$tableAlias : string
Return values
self

alias()

protected alias(string $table, string $column) : string
Parameters
$table : string
$column : string
Return values
string

        
On this page

Search results