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::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options 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::setEvents()

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

TimeDataCollector::lateCollect()

lateCollect() Collects data as late as possible.

TimeDataCollector::getStartTime()

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

TimeDataCollector::getName()

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

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