getGear() public method

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