Example #1
0
 private function getCache()
 {
     if (self::$resourceUriTargetCache === null) {
         self::$resourceUriTargetCache = new FixedInMemoryCache(500);
     }
     return self::$resourceUriTargetCache;
 }
 private function getCache()
 {
     if (self::$resourceUriTargetCache === null) {
         self::$resourceUriTargetCache = ApplicationFactory::getInstance()->newCacheFactory()->newFixedInMemoryCache(500);
     }
     return self::$resourceUriTargetCache;
 }