Skip to content

Kirby 4.4.1

$file->toArray()

Converts the media object to a plain PHP array

$file->toArray(): array

Return type

array

Parent class

Kirby\Filesystem\File