Esempio n. 1
0
 /**
  * @inheritdoc
  */
 protected function validateConf()
 {
     parent::validateConf();
     if (false !== ($function = $this->getConfParam('hash_function', false))) {
         if (!in_array($function, $this->hashFunctions)) {
             throw new Exception("Unknown hash function: '{$function}'. Please use one of: " . implode(', ', $this->hashFunctions));
         }
     }
 }