Doctrine\DBAL\Query\Expression\ExpressionBuilder::lte
Creates a lower-than-equal comparison expression with the given arguments.
First argument is considered the left expression and the second is the right expression. When converted to string, it will generated a <left expr> <= <right expr>. Example: [php] // u.id <= ? $q->where($q->expr()->lte('u.id', '?'));
Signature
public function lte(mixed
$x,
mixed
$y )
Parameters
$x
— mixed- Left expression
$y
— mixed- Right expression
Returns
- string