Skip to content

Kirby 4.2.0

$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
$other * Kirby\Toolkit\Collection

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