Beispiel #1
0
 /**
  * @param Validator $validator
  * @return $this
  */
 public function setValidator(Validator $validator)
 {
     $validator->setForm($this);
     $this->_validator = $validator;
     return $this;
 }
Beispiel #2
0
 /**
  * @expectedException \Sympathy\Form\Exception
  */
 public function testGetFormException()
 {
     $this->validator->getForm();
 }