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.

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

ArrayNodeDefinition::requiresAtLeastOneElement()

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

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

TokenInterface::getUsername()

string getUsername() Returns the username. Return Value string

RedisProfilerStorage deprecated::write()

bool write(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool Write operation successful

TokenInterface::setAttributes()

setAttributes(array $attributes) Sets the token attributes. Parameters array $attributes The token attributes

NodeInterface::getDefaultValue()

mixed getDefaultValue() Returns the default value of the node. Return Value mixed The default value Exceptions RuntimeException if the node has no default value

Parser::parsePostfixExpression()

parsePostfixExpression($node) Parameters $node

FixCheckboxInputListener deprecated::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a