\HTMLPurifier_DefinitionCacheFactory
Responsible for creating definition caches.
Synopsis
class HTMLPurifier_DefinitionCacheFactory
{
- // members
- protected array $caches = ;
- protected array $implementations = ;
- protected array $decorators = ;
- // methods
- public void setup()
- public static void instance()
- public void register()
- public void create()
- public void addDecorator()
Members
protected
- $caches
- $decorators
- $implementations
Methods
public
- addDecorator() — Registers a decorator to add to all new cache objects
- create() — Factory method that creates a cache object based on configuration
- instance() — Retrieves an instance of global definition cache factory.
- register() — Registers a new definition cache object
- setup() — Initialize default decorators