8000 Removed the example about Redis · symfony/symfony-docs@e4033a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit e4033a4

Browse files
javiereguiluzxabbuh
authored andcommitted
Removed the example about Redis
1 parent 1f370ca commit e4033a4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

components/cache.rst

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ meaning of some key concepts:
3737
**Adapter**
3838
It implements the actual caching mechanism to store the information in the
3939
filesystem, in a database, etc. The component provides several ready to use
40-
adapters for common caching backends (Redis, APCu, Doctrine, Filesystem, PDO)
40+
adapters for common caching backends (Redis, APCu, Doctrine, PDO, etc.)
4141

4242
Basic Usage
4343
-----------
@@ -70,14 +70,6 @@ Now you can create, retrieve, update and delete items using this cache pool::
7070

7171
// remove the cache item
7272
$cache->deleteItem('stats.num_products');
73-
74-
Or you can use redis-based cache, instantiate :class:`Symfony\\Component\\Cache\\Adapter\\RedisAdapter`::
75-
76-
use Symfony\Component\Cache\Adapter\RedisAdapter;
77-
78-
$connection = RedisAdapter::createConnection('redis://127.0.0.1:6379/0');
79-
$cache = new RedisAdapter($connection);
80-
8173

8274
Advanced Usage
8375
--------------

0 commit comments

Comments
 (0)
0