コード例 #1
0
 /**
  * @return string
  */
 public function getError()
 {
     return $this->requirement->getError($this->getModel(), $this->getProperty());
 }
コード例 #2
0
 /**
  * @param Model $model
  * @param Property $property
  * @return string
  */
 public function getError(Model $model, Property $property)
 {
     $error = parent::getError($model, $property);
     $error .= ' (' . $this->type . ')';
     return $error;
 }