56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
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
|