$cache
$cache
Cache of language code information used to load HTMLPurifier_Language objects.
Structure is: $factory->cache[$language_code][$key] = $value
Class responsible for generating HTMLPurifier_Language objects, managing caching and fallbacks.
instance(\HTMLPurifier_LanguageFactory $prototype = null) : \HTMLPurifier_LanguageFactory
Retrieve sole instance of the factory.
\HTMLPurifier_LanguageFactory | $prototype | Optional prototype to overload sole instance with, or bool true to reset to default factory. |
create(\HTMLPurifier_Config $config, \HTMLPurifier_Context $context, bool|string $code = false) : \HTMLPurifier_Language
Creates a language object, handles class fallbacks
\HTMLPurifier_Config | $config | |
\HTMLPurifier_Context | $context | |
bool|string | $code | Code to override configuration with. Private parameter. |