Skip to content

Instantly share code, notes, and snippets.

@gander
Created December 5, 2023 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gander/daa21b2601b99caecd124c70c8907ad3 to your computer and use it in GitHub Desktop.
Save gander/daa21b2601b99caecd124c70c8907ad3 to your computer and use it in GitHub Desktop.
App\Provider\RepoDataProvider:
arguments:
$githubClient: !service
class: Symfony\Component\HttpClient\CachingHttpClient
arguments:
$client: '@github.client'
$store: !service
class: Symfony\Component\HttpKernel\HttpCache\Store
arguments:
$root: '%kernel.cache_dir%/http-client-github'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment