getClubAnnouncements() public method

public getClubAnnouncements ( integer $id )
$id integer
Ejemplo n.º 1
0
 /**
  * List club announcements
  *
  * @link    https://strava.github.io/api/v3/clubs/#get-announcements
  * @param   int $id
  * @return  array
  * @throws  Exception
  */
 public function getClubAnnouncements($id)
 {
     try {
         return $this->service->getClubAnnouncements($id);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }