/** * Returns class instance * * @return BOL_DbCacheService */ public static function getInstance() { if (!isset(self::$classInstance)) { self::$classInstance = new self(); } return self::$classInstance; }
public function dbCacheProcess() { // Delete expired db cache entry BOL_DbCacheService::getInstance()->deleteExpiredList(); }
/** * * @return OW_CacheService */ public static function getCacheService() { return BOL_DbCacheService::getInstance(); //TODO make configurable }