All

Class. It extends Group and implements Condition.

use Saij\WpAppFramework\Query\All;

Posts that meet all of the conditions: All::of($a, $b), e.g. within Any.

Methods

of()

All::of(Condition ...$conditions): All

A group that is met if all of its conditions are met.

ParameterTypeDefaultDescription
...conditionsConditionAt least one condition, all of the same kind: all on meta fields, all on terms or all on the columns of a table; a group counts as the kind of its conditions.

Returns All

Throws InvalidArgumentException: Without conditions or with conditions of different kinds.