processResponse($this->client->get($this->fetchUrl($path))); } /** * List public repositories for the specified user. * * @param string $user The username to retrieve repositories for * * @return object * * @since 2.0 * @throws DomainException */ public function getPublicRepos($user) { $path = '/users/' . $user . '/repos'; // Send the request. return $this->processResponse($this->client->get($this->fetchUrl($path))); } }