FormConfigBuilder::resetViewTransformers()

FormConfigBuilderInterface resetViewTransformers() Clears the view transformers. Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::resetModelTransformers()

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

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::getRequestHandler()

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

FormConfigBuilder::getRequired()

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

FormConfigBuilder::getType()

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

FormConfigBuilder::getModelTransformers()

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

FormConfigBuilder::getOption()

mixed getOption(string $name, mixed $default = null) Returns the value of a specific option. Parameters string $name The option name mixed $default The value returned if the option does not exist Return Value mixed The option value