$hasSiblings->prevAll()
Returns the beginning of the collection before the current item
$hasSiblings->prevAll(Kirby\Toolkit\Collection|null $collection = null): Kirby\Toolkit\Collection
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Toolkit\Collection ornull |
null
|
Return type
This method modifies the existing $hassiblings
object it is applied to and returns it again.
Parent class
Kirby\Cms\HasSiblings