FormConfigBuilder::resetModelTransformers()

FormConfigBuilderInterface resetModelTransformers() Clears the normalization transformers. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::isValidName()

static bool isValidName(string $name) Returns whether the given variable contains a valid form name. A name is accepted if it is empty starts with a letter, digit or underscore contains only letters, digits, numbers, underscores ("_"), hyphens ("-") and colons (":") Parameters string $name The tested form name Return Value bool Whether the name is valid

FormConfigBuilder::hasOption()

bool hasOption(string $name) Returns whether a specific option exists. Parameters string $name The option name, Return Value bool Whether the option exists

FormConfigBuilder::hasAttribute()

bool hasAttribute(string $name) Returns whether the attribute with the given name exists. Parameters string $name The attribute name Return Value bool Whether the attribute exists

FormConfigBuilder::getViewTransformers()

DataTransformerInterface[] getViewTransformers() Returns the view transformers of the form. Return Value DataTransformerInterface[] An array of {@link DataTransformerInterface} instances

FormConfigBuilder::getType()

ResolvedFormTypeInterface getType() Returns the form types used to construct the form. Return Value ResolvedFormTypeInterface The form's type

FormConfigBuilder::getRequired()

bool getRequired() Returns whether the form is required. Return Value bool Whether the form is required

FormConfigBuilder::getRequestHandler()

RequestHandlerInterface getRequestHandler() Returns the request handler used by the form. Return Value RequestHandlerInterface The request handler

FormConfigBuilder::getPropertyPath()

null|PropertyPathInterface getPropertyPath() Returns the property path that the form should be mapped to. Return Value null|PropertyPathInterface The property path

FormConfigBuilder::getOptions()

array getOptions() Returns all options passed during the construction of the form. Return Value array The passed options