Skip to content

Kirby 5.0.4

$arguments->intersection()

Returns a Collection with the intersection of the given elements

$arguments->intersection(Kirby\Toolkit\Collection $other): Kirby\Query\Arguments

Parameters

Name Type Default
$otherrequired Kirby\Toolkit\Collection no default value

Return type

Kirby\Query\Arguments

This method does not modify the existing $arguments object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Query\Arguments inherited from Kirby\Toolkit\Collection