return true;
} public function setParent(FormInterface
$parent = null
):
static { if (1 > \
func_num_args()) { trigger_deprecation('symfony/form', '6.2', 'Calling "%s()" without any arguments is deprecated, pass null explicitly instead.', __METHOD__
);
} if ($this->submitted
) { throw new AlreadySubmittedException('You cannot set the parent of a submitted form.'
);
} if (null !==
$parent && '' ===
$this->name
) { throw new LogicException('A form with an empty name cannot have a parent form.'
);
} $this->parent =
$parent;
return $this;
}