public function getUser($userId) { $clientResponse = $this->webClient->get(sprintf("%s/%s", MediaSiloResourcePaths::USERS, $userId)); return User::fromJson($clientResponse->getBody()); }
public function getUser($userId) { $clientResponse = $this->webClient->get(sprintf("%s/%s", MediaSiloResourcePaths::USERS, $userId)); return User::fromJson($clientResponse->getBody()); }