DateTimeValidator

class DateTimeValidator extends DateValidator 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. PATTERN Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator static bool checkDate(int $year, int $month, int $day) Checks whether a date is valid. from DateValidator validate(mixe

IsNullValidator

class IsNullValidator 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 initia

FormPerformanceTestCase

class FormPerformanceTestCase extends FormIntegrationTestCase Base class for performance tests. Copied from Doctrine 2's OrmPerformanceTestCase. Methods setMaxRunningTime(int $maxRunningTime) int getMaxRunningTime() Details setMaxRunningTime(int $maxRunningTime) Parameters int $maxRunningTime Exceptions InvalidArgumentException int getMaxRunningTime() Return Value int

DumperPrefixCollection::getPrefix()

string getPrefix() Returns the prefix. Return Value string The prefix

PropertyDescriptionExtractorInterface::getShortDescription()

string|null getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. Parameters string $class string $property array $context Return Value string|null

LanguageBundleTransformationRule::afterCompile()

afterCompile(CompilationContextInterface $context) Runs instructions to be executed after compiling the sources of the resource bundle. Parameters CompilationContextInterface $context The contextual information of the compilation.

Token::isIdentifier()

bool isIdentifier() Return Value bool

FormInterface::initialize()

FormInterface initialize() Initializes the form tree. Should be called on the root form after constructing the tree. Return Value FormInterface The form instance

ConstraintViolationBuilderInterface::setCode()

ConstraintViolationBuilderInterface setCode(string|null $code) Sets the violation code. Parameters string|null $code The violation code Return Value ConstraintViolationBuilderInterface This builder

ExecutionContext deprecated::validate()

validate(mixed $value, string $subPath = '', null|string|string[] $groups = null, bool $traverse = false, bool $deep = false) Validates the given value within the scope of the current validation. The value may be any value recognized by the used metadata factory (see {@link MetadataFactoryInterface::getMetadata}), or an array or a traversable object of such values. Usually you validate a value that is not the current node of the execution context. For this case, you can pass the {@li