-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cache support #742
Comments
We already have cache support. It works in the same way. |
Well, almost the same way. We don't expose it on the client class itself. You have to pass an http client builder into the constructor of the client, having added the cache plugin to it. |
$builder = new Gitlab\HttpClient\Builder();
$builder->addCache($cache);
$client = new Gitlab\Client($builder); |
Ah, should have checked myself, sorry for the churn and thanks for the reply! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Much like Github has.
https://github.com/KnpLabs/php-github-api#cache-usage
The text was updated successfully, but these errors were encountered: