getFormField(); if(!$formField) { return $this; } $this->push($formField); if($formField instanceof UserFormsFieldContainer) { return $formField->setParent($this); } return $this; } public function getParent() { // Field list does not have a parent return null; } public function setParent(UserFormsFieldContainer $parent) { return $this; } }