$kirby->collection() Returns a specific user-defined collection by name. All relevant dependencies are automatically injected Read the guide kirby/src/Cms/App.php#L369 $kirby->collection(string $name): Kirby\Cms\Collection|null Parameters Name Type Default $name * string – Return type Kirby\Cms\Collection|null Parent class Kirby\Cms\App