Skip to content

Kirby 4.5.0

$pluginassets->intersection()

Returns a Collection with the intersection of the given elements

$pluginassets->intersection(\Kirby\Toolkit\Collection $other): Kirby\Cms\PluginAssets

Parameters

Name Type Default
$other * Kirby\Toolkit\Collection

Return type

Kirby\Cms\PluginAssets

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

Parent class

Kirby\Cms\PluginAssets inherited from Kirby\Toolkit\Collection