/** * Returns an instance of class (singleton pattern implementation). * * @return OW_CacheManager */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
/** * @return OW_CacheManager */ public static function getCacheManager() { return OW_CacheManager::getInstance(); }