$hasfiles->documents() Filters the Files collection by type documents kirby/src/Cms/HasFiles.php#L75 $hasfiles->documents(): Kirby\Cms\Files Return type Kirby\Cms\Files Parent class Kirby\Cms\HasFiles