Exemplo n.º 1
0
 /**
  * Loads the provider cache.
  * 
  * @return	array<\wcf\data\bbcode\media\MediaProvider>
  */
 public static function getCache()
 {
     if (self::$cache === null) {
         self::$cache = BBCodeMediaProviderCacheBuilder::getInstance()->getData();
     }
     return self::$cache;
 }
 /**
  * @see	\wcf\data\IEditableCachedObject::resetCache()
  */
 public static function resetCache()
 {
     BBCodeMediaProviderCacheBuilder::getInstance()->reset();
 }