AmPmTransformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

AmqpCaster

class AmqpCaster Casts Amqp related classes to array representation. Methods static castConnection(AMQPConnection $c, array $a, Stub $stub, $isNested) static castChannel(AMQPChannel $c, array $a, Stub $stub, $isNested) static castQueue(AMQPQueue $c, array $a, Stub $stub, $isNested) static castExchange(AMQPExchange $c, array $a, Stub $stub, $isNested) static castEnvelope(AMQPEnvelope $c, array $a, Stub $stub, $isNested, $filter) Details static

AmPmTransformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array

AmPmTransformer deprecated

class AmPmTransformer extends AmPmTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\AmPmTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\AmPmTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from AmPmTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regul

AmPmTransformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

AlreadySubmittedException

class AlreadySubmittedException extends LogicException Thrown when an operation is called that is not acceptable after submitting a form.

AlreadyBoundException deprecated

class AlreadyBoundException extends LogicException deprecated since version 2.3, to be removed in 3.0. Use {@link AlreadySubmittedException} instead. Alias of {@link AlreadySubmittedException}. Methods __construct($message = '', $code, Exception $previous = null) Details __construct($message = '', $code, Exception $previous = null) Parameters $message $code Exception $previous

AllValidator

class AllValidator extends ConstraintValidator 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 valid. Details initializ

AmPmTransformer

class AmPmTransformer extends Transformer Parser and formatter for AM/PM markers 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

All::getRequiredOptions()

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