name: Psr6CacheClearer
class_comment: '# * @author Nicolas Grekas <p@tchwork.com>'
dependencies:
- name: CacheItemPoolInterface
  type: class
  source: Psr\Cache\CacheItemPoolInterface
properties: []
methods:
- name: __construct
  visibility: public
  parameters:
  - name: pools
    default: '[]'
  comment: "# * @author Nicolas Grekas <p@tchwork.com>\n# */\n# class Psr6CacheClearer\
    \ implements CacheClearerInterface\n# {\n# private array $pools = [];\n# \n# /**\n\
    # * @param array<string, CacheItemPoolInterface> $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