TimeType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

TimeType::configureOptions()

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

TimeType

class TimeType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of the template block name for this type.

TimedTwigEngine deprecated

class TimedTwigEngine extends TwigEngine deprecated since version 2.7, to be removed in 3.0. Use the Twig native profiler instead. Times the time spent to render a template. Methods __construct(Twig_Environment $environment, TemplateNameParserInterface $parser, FileLocatorInterface $locator, Stopwatch $stopwatch) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. stream(string|TemplateReferenceInterface $name

TimedPhpEngine

class TimedPhpEngine extends PhpEngine Times the time spent to render a template. Methods __construct(TemplateNameParserInterface $parser, ContainerInterface $container, LoaderInterface $loader, Stopwatch $stopwatch, GlobalVariables $globals = null) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. bool exists(string|TemplateReferenceInterface $name) Returns true if the template exists. from PhpEngine bool s

TimeDataCollector::lateCollect()

lateCollect() Collects data as late as possible.

TimeDataCollector::setEvents()

setEvents(array $events) Sets the request events. Parameters array $events The request events

TimeDataCollector::getName()

string getName() Returns the name of the collector. Return Value string The collector name

TimeDataCollector::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

TimeDataCollector::getStartTime()

int getStartTime() Gets the request time. Return Value int The time