public updateActivity ( integer $id, string $name = null, string $type = null, boolean $private = false, boolean $commute = false, boolean $trainer = false, string $gear_id = null, string $description = null ) : array | ||
$id | integer | |
$name | string | |
$type | string | |
$private | boolean | |
$commute | boolean | |
$trainer | boolean | |
$gear_id | string | |
$description | string | |
return | array |
public function updateActivity($id, $name = null, $type = null, $private = false, $commute = false, $trainer = false, $gear_id = null, $description = null)
{
try {
return $this->service->updateActivity($id, $name, $type, $private, $commute, $trainer, $gear_id, $description);
} catch (ServiceException $e) {
throw new ClientException('[SERVICE] ' . $e->getMessage());
}
}