예제 #1
0
파일: Result.php 프로젝트: phpixie/validate
 /**
  * @param $customType string
  * @param null|string $stringValue
  * @return Result
  */
 public function addCustomError($customType, $stringValue = null)
 {
     return $this->addError($this->errorBuilder->custom($customType, $stringValue));
 }