public function getActivity($id, $include_all_efforts = null)
    {
        try {
            return $this->service->getActivity($id, $include_all_efforts);
        } catch (ServiceException $e) {
            throw new ClientException('[SERVICE] ' . $e->getMessage());
        }
    }
public function getActivity($id, $include_all_efforts = null)
    {
        try {
            return $this->service->getActivity($id, $include_all_efforts);
        } catch (ServiceException $e) {
            throw new ClientException('[SERVICE] ' . $e->getMessage());
        }
    }
public function getActivity ( $ id , $ include_all_efforts = null ) { try { return $ this -> service -> getActivity ( $ id , $ include_all_efforts ) ; } catch ( ServiceException $ e ) { throw new ClientException ( '[SERVICE] ' . $ e -> getMessage ( ) ) ; } }
Retrieve an activity

@link    https://strava.github.io/api/v3/athlete/#get-details,
https://strava.github.io/api/v3/athlete/#get-another-details
@param   int $id
@param   boolean $include_all_efforts
@return  array
@throws  Exception
Retrieve an activity