示例#1
0
 /**
  * @param Validator $validator
  * @return $this
  */
 public function setValidator(Validator $validator)
 {
     $validator->setForm($this);
     $this->_validator = $validator;
     return $this;
 }
 /**
  * @expectedException \InputValidation\Exception\ValidatorException
  */
 public function testGetFormException()
 {
     $this->validator->getForm();
 }