getClub() 공개 메소드

public getClub ( integer $id )
$id integer
예제 #1
0
 /**
  * Retrieve a club
  * 
  * @link    http://strava.github.io/api/v3/clubs/#get-details
  * @param   int $id
  * @return  array
  * @throws  Exception
  */
 public function getClub($id)
 {
     try {
         return $this->service->getClub($id);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }