public function execute(array $params = []) { $id = $this->getIdFromParams($params); if (is_null($id)) { throw new MissingParametersException(__METHOD__, ['id']); } return $this->client->get($this->getRoute(__FUNCTION__, ['id' => $id]), $params); }