Copied!

LogicalOperator

LogicalOperator.php : 18
Abstract
Implements CriterionInterface

Note that the class should ideally have been in a Logical namespace, but it would have then be named 'And', and 'And' is a PHP reserved word.

Properties

public $criteria

LogicalOperator.php : 25

The set of criteria combined by the logical operator.

public array<string|int, CriterionInterface$criteria = []

Methods

public__construct()

LogicalOperator.php : 34

Creates a Logic operation with the given criteria.

public __construct(array<string|int, CriterionInterface$criteria)

Parameters

Name Type Default value Description
$criteria array<string|int, CriterionInterface> - -
Tags
Throws
InvalidCriterionArgumentException