Skip to content

Kirby 5.0.4

$query->intercept()

Method to help classes that extend Query to intercept a segment's result.

$query->intercept(mixed $result): mixed

Parameters

Name Type Default
$resultrequired mixed no default value

Return type

mixed

This method modifies the existing $query object it is applied to and returns it again.

Parent class

Kirby\Query\Query