Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (string $value=null) | |
__toString () | |
Static Public Member Functions | |
static | getOperators () |
Data Fields | |
const | __DEFAULT = self::AND |
const | OR = 'or' |
const | AND = 'and' |
Operator is the part in the find argument that does logic branching.
Example: {"and": { "or": {} } }
Definition at line 17 of file Operator.php.
__construct | ( | string | $value = null | ) |
string | null | $value |
Definition at line 43 of file Operator.php.
__toString | ( | ) |
Convert operator to string
Definition at line 73 of file Operator.php.
|
static |
Get the operators defined by this class as constants
Definition at line 62 of file Operator.php.
const __DEFAULT = self::AND |
Default Operator
Definition at line 22 of file Operator.php.
const AND = 'and' |
AND operator
Definition at line 32 of file Operator.php.
const OR = 'or' |
OR operator
Definition at line 27 of file Operator.php.