public function getMediaFile()
    {
      $content = $this->client->get($this->media, array(), FALSE);

      $media = new Media;
      $media->setData($content);

      return $media;
    }
public function getMediaFile()
    {
      $content = $this->client->get($this->media, array(), FALSE);

      $media = new Media;
      $media->setData($content);

      return $media;
    }
public function getMediaFile ( ) { $ content = $ this -> client -> get ( $ this -> media , array ( ) , FALSE ) ; $ media = new Media ; $ media -> setData ( $ content ) ; return $ media ; }
Download a media file
provided the content type
on successful response of content type
header
Download a media file provided the content type on successful response of content type header