Exemple #1
0
 /**
  * DOCUMENT ME
  * @param mixed $hint
  * @param mixed $value
  */
 public static function setHint($hint, $value)
 {
     $cache = aImageConverter::getHintCache();
     // The lifetime should be short to avoid annoying developers who are
     // trying to fix their configuration and test with new possibilities
     $key = 'apostrophe:imageconverter:' . $hint;
     $cache->set($key, $value, 300);
 }