Copied!

LogicalOr

LogicalOr.php : 18
Extends LogicalOperator

This criterion implements a logical OR criterion and will only match if AT LEAST ONE of the given criteria match.

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