name: Psr6CacheClearer
class_comment: '# * @author Nicolas Grekas
'
dependencies:
- name: CacheItemPoolInterface
type: class
source: Psr\Cache\CacheItemPoolInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: pools
default: '[]'
comment: "# * @author Nicolas Grekas
\n# */\n# class Psr6CacheClearer\
\ implements CacheClearerInterface\n# {\n# private array $pools = [];\n# \n# /**\n\
# * @param array $pools"
- name: hasPool
visibility: public
parameters:
- name: name
comment: null
- name: getPool
visibility: public
parameters:
- name: name
comment: '# * @throws \InvalidArgumentException If the cache pool with the given
name does not exist'
- name: clearPool
visibility: public
parameters:
- name: name
comment: '# * @throws \InvalidArgumentException If the cache pool with the given
name does not exist'
- name: clear
visibility: public
parameters:
- name: cacheDir
comment: null
traits:
- Psr\Cache\CacheItemPoolInterface
interfaces:
- CacheClearerInterface