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
This is a void implementation of PSR-6. Other names for this adapter could be Blackhole or Null. This
5
-
adapter does not save anything and will always return an empty CacheItem.
4
+
This is a void implementation of a PSR-6 cache. Other names for this adapter could be Blackhole or Null. This adapter does not save anything and will always return an empty CacheItem. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at [www.php-cache.com](www.php-cache.com.
6
5
7
-
| Feature | Supported |
8
-
| ------- | --------- |
9
-
| Flush everything | No
10
-
| Expiration time | No
11
-
| Tagging | Yes
6
+
### Install
7
+
8
+
```bash
9
+
composer require cache/void-adapter
10
+
```
11
+
12
+
### Configure
13
+
14
+
You do not need to do any configuration to use the `VoidCachePool`.
15
+
16
+
### Usage
17
+
18
+
```php
19
+
use Cache\Adapter\Void\VoidCachePool;
20
+
21
+
$pool = new VoidCachePool();
22
+
```
23
+
24
+
### Contribute
25
+
26
+
Contributions are very welcome! Send us a pull request or report any issues you find on the [issue tracker](http://issues.php-cache.com).
0 commit comments