OrderBy
in package
Expression class for building DQL Order By parts.
Tags
Table of Contents
Properties
- $allowedClasses : array<string|int, string>
- $parts : mixed
- $postSeparator : string
- $preSeparator : string
- $separator : string
Methods
- __construct() : mixed
- __toString() : string
- add() : void
- count() : int
- getParts() : mixed
Properties
$allowedClasses
protected
array<string|int, string>
$allowedClasses
= []
$parts
protected
mixed
$parts
= []
Tags
$postSeparator
protected
string
$postSeparator
= ''
$preSeparator
protected
string
$preSeparator
= ''
$separator
protected
string
$separator
= ', '
Methods
__construct()
public
__construct([string|null $sort = null ][, string|null $order = null ]) : mixed
Parameters
- $sort : string|null = null
- $order : string|null = null
__toString()
public
__toString() : string
Return values
stringadd()
public
add(string $sort[, string|null $order = null ]) : void
Parameters
- $sort : string
- $order : string|null = null
count()
public
count() : int
Tags
Return values
intgetParts()
public
getParts() : mixed