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

NotEqualToValidator

class NotEqualToValidator extends AbstractComparisonValidator Validates values are all unequal (!=). Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is v

Request::getTrustedHeaderName()

static string getTrustedHeaderName(string $key) Gets the trusted proxy header name. Parameters string $key The header key Return Value string The header name Exceptions InvalidArgumentException