$caches
$caches :
Responsible for creating definition caches.
instance(\HTMLPurifier_DefinitionCacheFactory $prototype = null) : \HTMLPurifier_DefinitionCacheFactory
Retrieves an instance of global definition cache factory.
| \HTMLPurifier_DefinitionCacheFactory | $prototype |
create(string $type, \HTMLPurifier_Config $config) : mixed
Factory method that creates a cache object based on configuration
| string | $type | Name of definitions handled by cache |
| \HTMLPurifier_Config | $config | Config instance |
addDecorator(\HTMLPurifier_DefinitionCache_Decorator|string $decorator)
Registers a decorator to add to all new cache objects
| \HTMLPurifier_DefinitionCache_Decorator|string | $decorator | An instance or the name of a decorator |