InMemoryTokenProvider::updateToken()

updateToken(string $series, string $tokenValue, DateTime $lastUsed) Updates the token according to this data. Parameters string $series string $tokenValue DateTime $lastUsed Exceptions TokenNotFoundException if the token is not found

MonthTransformer

class MonthTransformer extends Transformer Parser and formatter for month format. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular

ScalarNodeDefinition

class ScalarNodeDefinition extends VariableNodeDefinition This class provides a fluent interface for defining a node. Methods __construct(string $name, NodeParentInterface $parent = null) Constructor. from NodeDefinition NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node. from NodeDefinition NodeDefinition|$this info(string $info) Sets info message. from NodeDefinition NodeDefinition|$this example(string|array $example) Sets example configuration

ValidationVisitorInterface deprecated::validate()

validate(mixed $value, string $group, string $propertyPath, bool $traverse = false, bool $deep = false) Validates a value. If the value is an array or a traversable object, you can set the parameter $traverse to true in order to run through the collection and validate each element. If these elements can be collections again and you want to traverse them recursively, set the parameter $deep to true as well. If you set $traversable to true, the visitor will nevertheless try to find met

CliDumper::dumpString()

dumpString(Cursor $cursor, string $str, bool $bin, int $cut) Dumps a string. Parameters Cursor $cursor The Cursor position in the dump string $str The string being dumped bool $bin Whether $str is UTF-8 or binary encoded int $cut The number of characters $str has been cut by

NotNull

class NotNull 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. IS_NULL_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 Methods static string

ContainerAwareEventDispatcher::addListenerService()

addListenerService(string $eventName, array $callback, int $priority) Adds a service as event listener. Parameters string $eventName Event for which the listener is added array $callback The service ID of the listener service & the method name that has to be called int $priority The higher this value, the earlier an event listener will be triggered in the chain. Defaults to 0. Exceptions InvalidArgumentException

ArrayAccessibleResourceBundle::getErrorCode()

getErrorCode()

FormConfigBuilder::getRequestHandler()

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

OptionsResolver::count()

int count() Returns the number of set options. This may be only a subset of the defined options. Return Value int Number of options Exceptions AccessException If accessing this method outside of {@link resolve()} See also \Countable::count()