$media->toArray($callback = null)

Converts the entire media object into a plain PHP array

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

Is something missing or incorrect? Edit this page on Github…