$file->toArray() Converts the media object to a plain PHP array kirby/src/Filesystem/File.php#L561 $file->toArray(): array Return type array Parent class Kirby\Filesystem\File