class factory implements cache_interface
Creates s9e\TextFormatter objects
Methods
__construct(data_access $data_access, driver_interface $cache, dispatcher_interface $dispatcher, config $config, link_helper $link_helper, log_interface $log, string $cache_dir, string $cache_key_parser, string $cache_key_renderer)
Constructor |
||
invalidate()
Invalidate and/or regenerate this text formatter's cache(s) |
||
tidy()
Tidy/prune this text formatter's cache(s) |
||
Configurator |
get_configurator()
Generate and return a new configured instance of s9e\TextFormatter\Configurator |
|
array |
regenerate()
Regenerate and cache a new parser and renderer |
Details
at line 154
public
__construct(data_access $data_access, driver_interface $cache, dispatcher_interface $dispatcher, config $config, link_helper $link_helper, log_interface $log, string $cache_dir, string $cache_key_parser, string $cache_key_renderer)
Constructor
at line 170
public
invalidate()
Invalidate and/or regenerate this text formatter's cache(s)
at line 180
public
tidy()
Tidy/prune this text formatter's cache(s)
at line 201
public Configurator
get_configurator()
Generate and return a new configured instance of s9e\TextFormatter\Configurator
at line 385
public array
regenerate()
Regenerate and cache a new parser and renderer