Form::all()

FormField[] all() Gets all fields. Return Value FormField[] An array of fields

Form::addError()

FormInterface addError(FormError $error) Adds an error to this form. Parameters FormError $error Return Value FormInterface The form instance

Form::add()

FormInterface add(FormInterface|string|int $child, string|null $type = null, array $options = array()) Adds or replaces a child to the form. Parameters FormInterface|string|int $child The FormInterface instance or the name of the child string|null $type The child's type, if a name was passed array $options The child's options, if a name was passed Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the form has already been submitted. LogicExc

Form

class Form implements IteratorAggregate, FormInterface Form represents a form. To implement your own form fields, you need to have a thorough understanding of the data flow within a form. A form stores its data in three different representations: (1) the "model" format required by the form's object (2) the "normalized" format for internal processing (3) the "view" format used for display A date field, for example, may store a date as "Y-m-d" string (1) in the object. To facilitate processing

Form

class Form extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_SYNCHRONIZED_ERROR NO_SUCH_FIELD_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint Metho

Form

class Form extends Link implements ArrayAccess Form represents an HTML form. Methods __construct(DOMElement $node, string $currentUri, string $method = null, string $baseHref = null) Constructor. DOMElement getNode() Gets the node associated with this link. from AbstractUriElement string getMethod() Gets the form method. string getUri() Gets the URI of the form. DOMElement getFormNode() Gets the form node associated with this form. Form setValues(array $values) Se

ForbiddenOverwriteException

class ForbiddenOverwriteException extends InvalidConfigurationException This exception is thrown when a configuration path is overwritten from a subsequent configuration file, but the entry node specifically forbids this. Methods setPath($path) from InvalidConfigurationException getPath() from InvalidConfigurationException Details setPath($path) Parameters $path getPath()

FloatNodeDefinition

class FloatNodeDefinition extends NumericNodeDefinition This class provides a fluent interface for defining a float node. Methods __construct(string $name, NodeParentInterface $parent = null) Constructor from NodeDefinition NodeDefinition setParent(NodeParentInterface $parent) Sets the parent node. from NodeDefinition NodeDefinition info(string $info) Sets info message. from NodeDefinition NodeDefinition example(string|array $example) Sets example configuration. from NodeDef

FloatNode

class FloatNode extends NumericNode This node represents a float value in the config tree. Methods __construct(string $name, NodeInterface $parent = null, $min = null, $max = null) Constructor. from NumericNode setAttribute($key, $value) from BaseNode getAttribute($key, $default = null) from BaseNode hasAttribute($key) from BaseNode getAttributes() from BaseNode setAttributes(array $attributes) from BaseNode removeAttribute($key) from BaseNode setInfo(st

FlattenException deprecated

class FlattenException deprecated Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead. FlattenException wraps a PHP Exception to be able to serialize it. Basically, this class removes all objects from the trace. Methods static __callStatic($method, $args) __call($method, $args) Details static __callStatic($method, $args) Parameters $method $args __call($metho