File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # PSR-6 Integration tests
1+ # PSR-6 and PSR-16 Integration tests
22[ ![ Gitter] ( https://badges.gitter.im/php-cache/cache.svg )] ( https://gitter.im/php-cache/cache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge )
33[ ![ Latest Stable Version] ( https://poser.pugx.org/cache/integration-tests/v/stable )] ( https://packagist.org/packages/cache/integration-tests )
44[ ![ Total Downloads] ( https://poser.pugx.org/cache/integration-tests/downloads )] ( https://packagist.org/packages/cache/integration-tests )
55[ ![ Monthly Downloads] ( https://poser.pugx.org/cache/integration-tests/d/monthly.png )] ( https://packagist.org/packages/cache/integration-tests )
66[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE )
77
8- This repository contains integration tests to make sure your implementation of a PSR-6 cache follows the rules by PHP-FIG.
8+ This repository contains integration tests to make sure your implementation of a PSR-6 and/or PSR-16 cache follows the rules by PHP-FIG.
99It is a part of the PHP Cache organisation. To read about us please read the shared documentation at [ www.php-cache.com ] ( http://www.php-cache.com ) .
1010
1111### Install
@@ -40,6 +40,18 @@ class TagIntegrationTest extends TaggableCachePoolTest
4040}
4141```
4242
43+ You can also test a PSR-16 implementation:
44+
45+ ``` php
46+ class CacheIntegrationTest extends SimpleCacheTest
47+ {
48+ public function createSimpleCache()
49+ {
50+ return new SimpleCache();
51+ }
52+ }
53+ ```
54+
4355### Contribute
4456
4557Contributions are very welcome! Send a pull request or
You can’t perform that action at this time.
0 commit comments