Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

Validity Criterion

The Validity URL Criterion matches URLs based on a validity flag.

Arguments

  • isValid - bool representing whether the matcher selects only valid URLs

Example

1
2
3
4
5
use Ibexa\Contracts\Core\Repository\Values\URL\Query\Criterion;
use Ibexa\Contracts\Core\Repository\Values\URL\URLQuery;

$query = new URLQuery();
$query->filter = new Criterion\Validity(true);