ProfilerController::panelAction()

Response panelAction(Request $request, string $token) Renders a profiler panel for the given token. Parameters Request $request The current HTTP request string $token The profiler token Return Value Response A Response instance Exceptions NotFoundHttpException

ProfilerController

class ProfilerController ProfilerController. Methods __construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Twig_Environment $twig, array $templates, string $toolbarPosition = 'normal') Constructor. RedirectResponse homeAction() Redirects to the last profiles. Response panelAction(Request $request, string $token) Renders a profiler panel for the given token. Response infoAction(Request $request, string $about) Displays information page. Response tool

ProfilerController::homeAction()

RedirectResponse homeAction() Redirects to the last profiles. Return Value RedirectResponse A RedirectResponse instance Exceptions NotFoundHttpException

Profiler::purge()

purge() Purges all data from the storage.

Profiler::loadProfileFromResponse()

Profile|false loadProfileFromResponse(Response $response) Loads the Profile for the given Response. Parameters Response $response A Response instance Return Value Profile|false A Profile instance

Profiler::loadProfile()

Profile loadProfile(string $token) Loads the Profile for the given token. Parameters string $token A token Return Value Profile A Profile instance

Profiler::saveProfile()

bool saveProfile(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool

Profiler::find()

array find(string $ip, string $url, string $limit, string $method, string $start, string $end, string $statusCode = null) Finds profiler tokens for the given criteria. Parameters string $ip The IP string $url The URL string $limit The maximum number of tokens to return string $method The request method string $start The start date to search from string $end The end date to search to string $statusCode The request status code Return Value array An array of tokens See also http:/

Profiler::has()

bool has(string $name) Returns true if a Collector for the given name exists. Parameters string $name A collector name Return Value bool

Profiler::add()

add(DataCollectorInterface $collector) Adds a Collector. Parameters DataCollectorInterface $collector A DataCollectorInterface instance