$media->toJson($callback = null)

Converts the entire media object into a JSON string

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

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