Skip to content

LogicalNot Criterion

The LogicalNot URL Criterion matches a URL if the provided Criterion does not match.

It takes only one Criterion in the array parameter.

Arguments

  • criterion - represents the Criterion that should be negated

Example

1
2
3
$query->filter = new Criterion\LogicalNot(
        new Criterion\Pattern('ibexa.co')
);
Read the Docs