Skip to content

LogicalAnd Criterion

The LogicalAnd URL Criterion matches a URL if all provided Criteria match.

Arguments

  • criterion - the set of Criteria combined by the logical operator

Example

1
2
3
4
5
6
$query->filter = new Criterion\LogicalAnd(
    [
        new Criterion\Validity(true),
        new Criterion\Pattern('ibexa.co')
    ]
);
Read the Docs