You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the last code example is new instance of Psr6Cache. Shouldn't it be instance of Psr16Cache since you are importing Symfony\Component\Cache\Psr16Cache?
useSymfony\Component\Cache\Adapter\FilesystemAdapter;
useSymfony\Component\Cache\Psr16Cache;
// the PSR-6 cache object that you want to use$psr6Cache = newFilesystemAdapter();
// a PSR-16 cache that uses your cache internally!$psr16Cache = newPsr6Cache($psr6Cache); # <--- Wrong?$psr16Cache = newPsr16Cache($psr6Cache); # <--- Correct?// now use this wherever you want$githubApiClient = newGitHubApiClient($psr16Cache);