This class allows to expose the media of a Prestataire in ApiPlatform (because it's not possible with a Media from SonataMediaBundle)