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