Skip to content

$blocks->intersection()

Returns a Collection with the intersection of the given elements

$blocks->intersection(\Kirby\Toolkit\Collection $other): Kirby\Toolkit\Collection

Parameters

Name Type Default
$other * Kirby\Toolkit\Collection

Return type

Kirby\Toolkit\Collection

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Collection