$hasFiles->documents()
Filters the Files collection by type documents
$hasFiles->documents(): Kirby\Cms\Files
Return type
This method modifies the existing $hasfiles object it is applied to and returns it again.
Parent class
Kirby\Cms\HasFiles