MetaFox

UserExistScope extends BaseScope
in package

Class BoundsScope.

Table of Contents

Properties

$alias  : string
$onFields  : array<string|int, mixed>

Methods

apply()  : mixed
applyQueryBuilder()  : void
getAlias()  : string
getOnFields()  : array<string|int, string>
likeOperator()  : string
return the case-insensitive LIKE operator bases on the current database driver.
setAlias()  : self
setOnFields()  : self
alias()  : string

Properties

Methods

apply()

public apply(Builder $builder, Model $model) : mixed
Parameters
$builder : Builder
$model : Model

applyQueryBuilder()

public applyQueryBuilder(Builder $builder) : void
Parameters
$builder : Builder

getOnFields()

public getOnFields() : array<string|int, string>
Return values
array<string|int, string>

likeOperator()

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

public likeOperator() : string
Return values
string

setAlias()

public setAlias(string $alias) : self
Parameters
$alias : string
Return values
self

setOnFields()

public setOnFields(array<string|int, mixed>|string $onFields) : self
Parameters
$onFields : array<string|int, mixed>|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