extends |
HTMLPurifier_DefinitionCache_Decorator |
|---|
Definition cache decorator class that cleans up the cache whenever there is a cache miss.
| Methods | ||
|---|---|---|
public
|
copy(): HTMLPurifier_DefinitionCache_Decorator_Cleanup
Cross-compatible clone substitute
|
# |
public
|
add(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): mixed
Adds a definition object to the cache
|
# |
public
|
set(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): mixed
Unconditionally saves a definition object to the cache
Unconditionally saves a definition object to the cache Overrides |
# |
public
|
replace(HTMLPurifier_Definition $def, HTMLPurifier_Config $config): mixed
Replace an object in the cache
|
# |
public
|
get(HTMLPurifier_Config $config): mixed
Retrieves a definition object from the cache
Retrieves a definition object from the cache Overrides |
# |
| Methods inherited from HTMLPurifier_DefinitionCache_Decorator |
|---|
__construct(), decorate(), remove(), flush(), cleanup() |
| Methods inherited from HTMLPurifier_DefinitionCache |
|---|
generateKey(), isOld(), checkDefType(), |
| Properties | |||
|---|---|---|---|
public
|
|
$name = 'Cleanup'
|
# |
| Properties inherited from HTMLPurifier_DefinitionCache_Decorator |
|---|
$cache, |
| Properties inherited from HTMLPurifier_DefinitionCache |
|---|
$type |