$files->findByKey()
Finds a file by its filename
$files->findByKey(string $key): Kirby\Cms\File|null
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
Return type
Kirby\Cms\File
|null
Finds a file by its filename
$files->findByKey(string $key): Kirby\Cms\File|null
Name | Type | Default |
---|---|---|
$key * | string |
– |
Kirby\Cms\File
|null