We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb6ed97 commit 595ed5bCopy full SHA for 595ed5b
components/cache/psr6_psr16_adapters.rst
@@ -74,13 +74,13 @@ the class instead. No problem! The Cache component provides the
74
this use-case::
75
76
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
77
- use Symfony\Component\Cache\Simple\Psr16Cache;
+ use Symfony\Component\Cache\Simple\Psr6Cache;
78
79
// the PSR-6 cache object that you want to use
80
$psr6Cache = new FilesystemAdapter();
81
82
// a PSR-16 cache that uses your cache internally!
83
- $psr16Cache = new Psr16Cache($psr6Cache);
+ $psr16Cache = new Psr6Cache($psr6Cache);
84
85
// now use this wherever you want
86
$githubApiClient = new GitHubApiClient($psr16Cache);
0 commit comments