/** * Retrieve a segment * * @link http://strava.github.io/api/v3/segments/#retrieve * @param int $id * @return array * @throws Exception */ public function getSegment($id) { try { return $this->service->getSegment($id); } catch (ServiceException $e) { throw new ClientException('[SERVICE] ' . $e->getMessage()); } }