api/symfony/Bundle/FrameworkBundle/CacheWarmer/AbstractPhpFileCacheWarmer.yaml
2024-09-26 02:03:21 -07:00

64 lines
1.7 KiB
YAML

name: AbstractPhpFileCacheWarmer
class_comment: null
dependencies:
- name: ArrayAdapter
type: class
source: Symfony\Component\Cache\Adapter\ArrayAdapter
- name: NullAdapter
type: class
source: Symfony\Component\Cache\Adapter\NullAdapter
- name: PhpArrayAdapter
type: class
source: Symfony\Component\Cache\Adapter\PhpArrayAdapter
- name: ClassExistenceResource
type: class
source: Symfony\Component\Config\Resource\ClassExistenceResource
- name: CacheWarmerInterface
type: class
source: Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: phpArrayFile
comment: '# * @param string $phpArrayFile The PHP file where metadata are cached'
- name: isOptional
visibility: public
parameters: []
comment: null
- name: warmUp
visibility: public
parameters:
- name: cacheDir
- name: buildDir
default: 'null'
comment: null
- name: warmUpPhpArrayAdapter
visibility: protected
parameters:
- name: phpArrayAdapter
- name: values
comment: '# * @return string[] A list of classes to preload on PHP 7.4+'
- name: ignoreAutoloadException
visibility: protected
parameters:
- name: class
- name: exception
comment: null
- name: doWarmUp
visibility: protected
parameters:
- name: cacheDir
- name: arrayAdapter
- name: buildDir
default: 'null'
comment: null
traits:
- Symfony\Component\Cache\Adapter\ArrayAdapter
- Symfony\Component\Cache\Adapter\NullAdapter
- Symfony\Component\Cache\Adapter\PhpArrayAdapter
- Symfony\Component\Config\Resource\ClassExistenceResource
- Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
interfaces:
- CacheWarmerInterface