/**
* Ends the chaining and returns the parent object, either {@link ValidationLogicCriteria} or {@link FormField}
*
* @return FormField/ValidationLogicCriteria
*/
public function end()
{
if ($this->parent) {
$this->parent->addCriterion($this);
}
return $this->slave;
}