We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70e022 commit fc5aef1Copy full SHA for fc5aef1
doc/request_any_route.md
@@ -5,8 +5,9 @@ The method you need does not exist yet? You can access any GitHub route by using
5
For example:
6
7
```php
8
-$client = new Github\Client();
9
-$repo = $client->getHttpClient()->get('repos/KnpLabs/php-github-api');
+$client = new Github\Client();
+$response = $client->getHttpClient()->get('repos/KnpLabs/php-github-api');
10
+$repo = Github\HttpClient\Message\ResponseMediator::getContent($response);
11
```
12
13
Returns an array describing the "php-github-api" repository.
0 commit comments