MetaFox

LimitScope extends BaseScope
in package

Class BaseScope.

Table of Contents

Properties

$limit  : int|null

Methods

__construct()  : mixed
apply()  : mixed
applyQueryBuilder()  : void
getLimit()  : int|null
likeOperator()  : string
return the case-insensitive LIKE operator bases on the current database driver.
setLimit()  : self
alias()  : string

Properties

Methods

__construct()

public __construct([int|null $limit = null ]) : mixed
Parameters
$limit : 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

getLimit()

public getLimit() : int|null
Return values
int|null

likeOperator()

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

public likeOperator() : string
Return values
string

setLimit()

public setLimit(int|null $limit) : self
Parameters
$limit : int|null
Return values
self

alias()

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

        
On this page

Search results