Oihana PHP Arango

Logic uses ConstantsTrait

Table of Contents

Constants

AND  : string = '&&'
NOT  : string = '!'
OR  : string = '||'

Methods

normalize()  : string
Normalize a logical operator.

Constants

AND

public string AND = '&&'

Methods

normalize()

Normalize a logical operator.

public static normalize(string|null $operator) : string

Returns the operator if it's supported (AND, OR), otherwise defaults to AND.

Parameters
$operator : string|null
Return values
string
On this page

Search results