$files->findByKey()
Alias for FilesFinder::findById() which is used internally in the Files collection to map the get method correctly.
$files->findByKey(string $key): Kirby\Cms\File|null
Parameters
| Name | Type | Default |
|---|---|---|
| $key * | string |
– |
Return type
Kirby\Cms\File|null