Copied!

CompositeCriterion

CompositeCriterion.php : 13
Implements CriterionInterface

Constants

publicTYPE_AND

CompositeCriterion.php : 15
public mixed TYPE_AND = 'AND'

publicTYPE_OR

CompositeCriterion.php : 17
public mixed TYPE_OR = 'OR'

Properties

public $criteria

CompositeCriterion.php : 22
public array<string|int, CriterionInterface$criteria

Methods

public__construct()

CompositeCriterion.php : 34
public __construct(array<string|int, CriterionInterface$criteria, string $type)

Parameters

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

publicgetType()

CompositeCriterion.php : 61
public final getType() : string

Return values

string