예제 #1
0
파일: RuleCore.php 프로젝트: biniweb/form
 /**
  * @param ElementInterface $elementInstance
  *
  * @return string
  */
 public function renderErrorMessage(ElementInterface $elementInstance)
 {
     $parsedFieldPlaceholders = $elementInstance->parseFieldPlaceholders($this->getErrorMessage());
     return $this->_parseConditionPlaceholders($parsedFieldPlaceholders);
 }