$file->toArray($callback = null)

Converts the entire file object into a plain PHP array

  • $callback (callable)
    Mapping callback
  • return (array)