Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/managers/cache_manager.php
Show First 20 Lines • Show All 296 Lines • ▼ Show 20 Line(s) | |||||
/** | /** | ||||
* Empties factory and event manager cache (without storing changes) | * Empties factory and event manager cache (without storing changes) | ||||
*/ | */ | ||||
public function EmptyUnitCache() | public function EmptyUnitCache() | ||||
{ | { | ||||
// maybe discover keys automatically from corresponding classes | // maybe discover keys automatically from corresponding classes | ||||
$cache_keys = Array ( | $cache_keys = Array ( | ||||
'Factory.Files', 'Factory.Namespaces', 'Factory.realClasses', | 'Factory.Files', 'Factory.ClassInfo', 'Factory.ClassTree', 'Factory.Namespaces', 'Factory.realClasses', | ||||
'ConfigReader.prefixFiles', 'ConfigCloner.clones', | 'ConfigReader.prefixFiles', 'ConfigCloner.clones', | ||||
'EventManager.beforeHooks', 'EventManager.afterHooks', 'EventManager.scheduledTasks', 'EventManager.buildEvents', | 'EventManager.beforeHooks', 'EventManager.afterHooks', 'EventManager.scheduledTasks', 'EventManager.buildEvents', | ||||
'Application.ReplacementTemplates', 'Application.RewriteListeners', 'Application.ModuleInfo', | 'Application.ReplacementTemplates', 'Application.RewriteListeners', 'Application.ModuleInfo', | ||||
'Application.ConfigHash', 'Application.ConfigCacheIds', | 'Application.ConfigHash', 'Application.ConfigCacheIds', | ||||
); | ); | ||||
$empty_cache = Array (); | $empty_cache = Array (); | ||||
▲ Show 20 Lines • Show All 539 Lines • Show Last 20 Lines |