The documentation for using the Enterprise API (https://github.com/KnpLabs/php-github-api/blob/master/doc/enterprise.md) says you can set the enterprise URL like this: $client->setEnterpriseUrl('https://ghe.host'); This fails because the method is private: https://github.com/KnpLabs/php-github-api/blob/master/lib/Github/Client.php#L331
Activity
acrobat commentedon Nov 9, 2017
This is indeed an issue with the docs as the enterprise url should be passed to the client constructor
So if you can please open a PR to fix the specific docs. Thanks!
Correct Enterprise API documentation (issue KnpLabs#636)
Merge pull request #649 from jacobtruman/master
acrobat commentedon Dec 12, 2017
Fixed in #649