Controller/MediaController.php
public function listComments($mediaId, CachePolicy $cachePolicy = null)
        {
            $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

            $result = $this->get('v1/media/' . $mediaId . '/comments', $parameters, $cachePolicy);
            foreach ($result as &$entry) {
                $entry = new CommentResponse($entry);
            }
            unset($entry);
            reset($result);

            return $result;
        }
public function listComments($mediaId, CachePolicy $cachePolicy = null)
        {
            $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

            $result = $this->get('v1/media/' . $mediaId . '/comments', $parameters, $cachePolicy);
            foreach ($result as &$entry) {
                $entry = new CommentResponse($entry);
            }
            unset($entry);
            reset($result);

            return $result;
        }
Fetches eventual comments made on this media.

@param int         $mediaId     The Media identifier..
@param CachePolicy $cachePolicy a custom cache policy used for this request only

@return CommentResponse[]