getActivityLaps() public method

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