From 595ed5ba7f5cba5ff9d3fc04de32841b69eb2d64 Mon Sep 17 00:00:00 2001 From: Artur Weigandt Date: Wed, 24 Jul 2019 14:08:54 +0200 Subject: [PATCH] Fix classname for Psr6Cache --- components/cache/psr6_psr16_adapters.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cache/psr6_psr16_adapters.rst b/components/cache/psr6_psr16_adapters.rst index 0019ce50df3..55014b9faba 100644 --- a/components/cache/psr6_psr16_adapters.rst +++ b/components/cache/psr6_psr16_adapters.rst @@ -74,13 +74,13 @@ the class instead. No problem! The Cache component provides the this use-case:: use Symfony\Component\Cache\Adapter\FilesystemAdapter; - use Symfony\Component\Cache\Simple\Psr16Cache; + use Symfony\Component\Cache\Simple\Psr6Cache; // the PSR-6 cache object that you want to use $psr6Cache = new FilesystemAdapter(); // a PSR-16 cache that uses your cache internally! - $psr16Cache = new Psr16Cache($psr6Cache); + $psr16Cache = new Psr6Cache($psr6Cache); // now use this wherever you want $githubApiClient = new GitHubApiClient($psr16Cache);