interface StopwatchAwareInterface implements WidgetInterface (View source)

Interface StopwatchAwareInterface - Widgets that implement this interface, will have their execution time show up in Symfony's Profiler

Methods

string
getName()

No description

string
getTarget()

No description

int
getPriority()

No description

string
getZone()

No description

string|null
__invoke(array $params = [])

No description

void
injectExtension(ExtensionInterface $extension)

No description

startStopwatch(Stopwatch $stopwatch)

No description

stopStopwatch()

No description

Details

string getName()

Return Value

string

string getTarget()

Return Value

string from Bolt\Widget\Injector\Target constants enum

int getPriority()

Return Value

int

string getZone()

Return Value

string from Bolt\Widget\Injector\RequestZone constants enum

string|null __invoke(array $params = [])

Parameters

array $params

Return Value

string|null

void injectExtension(ExtensionInterface $extension)

Parameters

ExtensionInterface $extension

Return Value

void

startStopwatch(Stopwatch $stopwatch)

Parameters

Stopwatch $stopwatch

stopStopwatch()