getActivityComments() public method

public getActivityComments ( integer $id, boolean $markdown = null, integer $page = null, integer $per_page = null )
$id integer
$markdown boolean
$page integer
$per_page integer
Ejemplo n.º 1
0
 /**
  * List activity comments
  * 
  * @link    http://strava.github.io/api/v3/comments/#list
  * @param   int $id
  * @param   boolean $markdown
  * @param   int $page
  * @param   int $per_page
  * @return  array
  * @throws  Exception
  */
 public function getActivityComments($id, $markdown = null, $page = null, $per_page = null)
 {
     try {
         return $this->service->getActivityComments($id, $markdown, $page, $per_page);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }