Form::getRoot()

FormInterface getRoot() Returns the root of the form tree. Return Value FormInterface The root of the tree

Form::getPropertyPath()

PropertyPathInterface getPropertyPath() Returns the property path that the form is mapped to. Return Value PropertyPathInterface The property path

Form::getPhpValues()

array getPhpValues() Gets the field values as PHP. This method converts fields with the array notation (like foo[bar] to arrays) like PHP does. Return Value array An array of field values

Form::getPhpFiles()

array getPhpFiles() Gets the file field values as PHP. This method converts fields with the array notation (like foo[bar] to arrays) like PHP does. The returned array is consistent with the array for field values (see getPhpValues), rather than uploaded files found in $FILES. For a compound file field foo[bar] it will create foo[bar][name], instead of foo[name][bar] which would be found in $FILES. Return Value array An array of file field values

Form::getParent()

FormInterface|null getParent() Returns the parent form. Return Value FormInterface|null The parent form or null if there is none

Form::getNormData()

mixed getNormData() Returns the normalized data of the field. Return Value mixed When the field is not submitted, the default data is returned When the field is submitted, the normalized submitted data is returned if the field is valid, null otherwise.

Form::getName()

string getName() Returns the name by which the form is identified in forms. Return Value string The name of the form

Form::getMethod()

string getMethod() Gets the form method. If no method is defined in the form, GET is returned. Return Value string The method

Form::getIterator()

Traversable|FormInterface[] getIterator() Returns the iterator for this group. Return Value Traversable|FormInterface[]

Form::getFormNode()

DOMElement getFormNode() Gets the form node associated with this form. Return Value DOMElement A \DOMElement instance