platform/api/symfony/Bundle/FrameworkBundle/CacheWarmer/CachePoolClearerCacheWarmer.yaml

57 lines
1.1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: CachePoolClearerCacheWarmer
class_comment: null
dependencies:
- name: Psr6CacheClearer
type: class
source: Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer
- name: CacheWarmerInterface
type: class
source: Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: poolClearer
- name: pools
default: '[]'
comment: '# * Clears the cache pools when warming up the cache.
# *
# * Do not use in production!
# *
# * @author Teoh Han Hui <teohhanhui@gmail.com>
# *
# * @internal
# */
# final class CachePoolClearerCacheWarmer implements CacheWarmerInterface
# {
# /**
# * @param string[] $pools'
- name: warmUp
visibility: public
parameters:
- name: cacheDir
- name: buildDir
default: 'null'
comment: null
- name: isOptional
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer
- Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
interfaces:
- CacheWarmerInterface