23 protected static array
$cache = array();
25 public static function isCached(
string $class_name): bool
27 return array_key_exists($class_name, self::$cache);
30 public static function store(
string $class_name): void
32 self::$cache[$class_name] = arFactory::getInstance($class_name, null);
37 if (!self::isCached($class_name)) {
38 self::store($class_name);
41 return self::$cache[$class_name];
44 public static function purge(
string $class_name): void
46 unset(self::$cache[$class_name]);
static isCached(string $class_name)
static store(string $class_name)
Class arCalledClassCache.
static purge(string $class_name)