Skip to content

Kirby 4.4.1

$request->file()

Fetches a single file array from the Files object by key

$request->file(string $key): array|null

Parameters

Name Type Default
$key * string

Return type

array|null

Parent class

Kirby\Http\Request