$layouts->intersection()
Returns a Collection with the intersection of the given elements
$layouts->intersection(\Kirby\Toolkit\Collection $other): Kirby\Cms\Layouts
Parameters
| Name | Type | Default |
|---|---|---|
| $other * | Kirby\Toolkit\Collection |
– |
Return type
This method does not modify the existing $layouts object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\Layouts inherited from Kirby\Toolkit\Collection