Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit595ed5b

Browse files
authored
Fix classname for Psr6Cache
1 parentbb6ed97 commit595ed5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎components/cache/psr6_psr16_adapters.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ the class instead. No problem! The Cache component provides the
7474
this use-case::
7575

7676
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
77-
use Symfony\Component\Cache\Simple\Psr16Cache;
77+
use Symfony\Component\Cache\Simple\Psr6Cache;
7878

7979
// the PSR-6 cache object that you want to use
8080
$psr6Cache = new FilesystemAdapter();
8181

8282
// a PSR-16 cache that uses your cache internally!
83-
$psr16Cache = newPsr16Cache($psr6Cache);
83+
$psr16Cache = newPsr6Cache($psr6Cache);
8484

8585
// now use this wherever you want
8686
$githubApiClient = new GitHubApiClient($psr16Cache);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp