Skip to content

Kirby 5.0.4

$files->data()

The data method returns the files array. This is only needed to make the Data trait work for the Files::get($key) method.

$files->data(): array

Return type

array

This method modifies the existing $files object it is applied to and returns it again.

Parent class

Kirby\Http\Request\Files