$areas->intersection()
Returns a Collection with the intersection of the given elements
$areas->intersection(Collection $other): Areas
Parameters
| Name | Type | Default |
|---|---|---|
| $otherrequired | Kirby\Toolkit\Collection |
no default value |
Return type
This method does not modify the existing $areas object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Panel\Areas
inherited from Kirby\Toolkit\Collection