getClub() public method

public getClub ( integer $id )
$id integer
Ejemplo n.º 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());
     }
 }