Skip to content

Kirby 3.7.5

$files->get()

The get method is the heart and soul of this Trait. You can use it to fetch a single value of the data array by key or multiple values by passing an array of keys.

$files->get(string|array $key, mixed|null $default = null): mixed

Parameters

Name Type Default
$key * string|array
$default mixed|null null

Return type

mixed

Parent class

Kirby\Http\Request\Files