ConstraintViolationInterface::getRoot()

mixed getRoot() Returns the root element of the validation. Return Value mixed The value that was passed originally to the validator when the validation was started. Because the validator traverses the object graph, the value at which the violation occurs is not necessarily the value that was originally validated.

RequestDataCollector::getRequestAttributes()

getRequestAttributes()

TimeDataCollector::getInitTime()

float getInitTime() Gets the initialization time. This is the time spent until the beginning of the request handling. Return Value float The elapsed time

RecursiveDirectoryIterator::isRewindable()

bool isRewindable() Checks if the stream is rewindable. Return Value bool true when the stream is rewindable, false otherwise

EventDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

ButtonBuilder::getAttributes()

array getAttributes() Returns additional attributes of the button. Return Value array An array of key-value combinations

ConfigDataCollector::hasEAccelerator()

bool hasEAccelerator() Returns true if EAccelerator is enabled. Return Value bool true if EAccelerator is enabled, false otherwise

AnnotationLoader

class AnnotationLoader implements LoaderInterface Annotation loader. Methods __construct(Reader $reader) bool loadClassMetadata(ClassMetadataInterface $classMetadata) Load class metadata. Details __construct(Reader $reader) Parameters Reader $reader bool loadClassMetadata(ClassMetadataInterface $classMetadata) Load class metadata. Parameters ClassMetadataInterface $classMetadata A metadata Ret

ExecutionContextInterface deprecated

interface ExecutionContextInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContextInterface} instead. Stores the validator's state during validation. For example, let's validate the following object graph: (Person)---($firstName: string) \ ($address: Address)---($street: string) We validate the Person instance, which becomes the "root" of the validation run (see {@link getRoot}). The state of the context after the first step will be like

Definition::setAutowiringTypes()

Definition setAutowiringTypes(array $types) Sets types that will default to this definition. Parameters array $types Return Value Definition The current instance