TimeDataCollector::getEvents()

array getEvents() Gets the request events. Return Value array The request events

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

TimeDataCollector::getDuration()

float getDuration() Gets the request elapsed time. Return Value float The elapsed time

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

TimeDataCollector

class TimeDataCollector extends DataCollector implements LateDataCollectorInterface TimeDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector __construct(KernelInterface $kernel = null, $stopwatch = null) collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. lateCollect() Collects data as late as possible. setEvents(array $events) Sets the request events.

TextType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

TextType::transform()

mixed transform($data) Transforms a value from the original representation to a transformed representation. This method is called on two occasions inside a form field: When the form field is initialized with the data attached from the datasource (object or array). When data from a request is submitted using {@link Form::submit()} to transform the new input data back into the renderable format. For example if you have a date field and submit '2009-10-10' you might accept this valu

ThrowingCasterException

class ThrowingCasterException extends Exception Methods __construct(Exception $prev) Details __construct(Exception $prev) Parameters Exception $prev The exception thrown from the caster

TextType::reverseTransform()

mixed reverseTransform($data) Transforms a value from the transformed representation to its original representation. This method is called when {@link Form::submit()} is called to transform the requests tainted data into an acceptable format for your data processing/model layer. This method must be able to deal with empty values. Usually this will be an empty string, but depending on your implementation other empty values are possible as well (such as NULL). The reasoning behind

TextType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options