FormFactoryBuilder::addType()

FormFactoryBuilderInterface addType(FormTypeInterface $type) Adds a form type to the factory. Parameters FormTypeInterface $type The form type. Return Value FormFactoryBuilderInterface The builder.

Expression::getRequiredOptions()

array getRequiredOptions() Returns the name of the required options. Override this method if you want to define required options. Return Value array

Client::getProfile()

Profile getProfile() Gets the profile associated with the current Response. Return Value Profile A Profile instance

XmlReferenceDumper::dump()

dump(ConfigurationInterface $configuration, $namespace = null) Parameters ConfigurationInterface $configuration $namespace

Time

class Time 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. INVALID_FORMAT_ERROR INVALID_TIME_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message

ArrayNodeDefinition::requiresAtLeastOneElement()

ArrayNodeDefinition requiresAtLeastOneElement() Requires the node to have at least one element. This method is applicable to prototype nodes only. Return Value ArrayNodeDefinition

MetadataInterface deprecated::findConstraints()

Constraint[] findConstraints(string $group) Returns all constraints for a given validation group. Parameters string $group The validation group Return Value Constraint[] A list of constraint instances

Component\Form\ChoiceList\View

Classes ChoiceGroupView Represents a group of choices in templates. ChoiceListView Represents a choice list in templates. ChoiceView Represents a choice in templates.

ReversedTransformer::transform()

mixed transform(mixed $value) Transforms a value from the original representation to a transformed representation. This method is called on two occasions inside a form field: When the form field is initialized with the data attached from the datasource (object or array). When data from a request is submitted using {@link Form::submit()} to transform the new input data back into the renderable format. For example if you have a date field and submit '2009-10-10' you might accept th

MappingRule

class MappingRule Methods __construct(FormInterface $origin, $propertyPath, $targetPath) FormInterface getOrigin() null|FormInterface match(string $propertyPath) Matches a property path against the rule path. bool isPrefix(string $propertyPath) Matches a property path against a prefix of the rule path. FormInterface getTarget() Details __construct(FormInterface $origin, $propertyPath, $targetPath) Parameters FormInterface