ProfilerStorageInterface::write()

bool write(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool Write operation successful

ProfilerStorageInterface::find()

array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = 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 int|null $start The start date to search from int|null $end The end date to search to Return Value array An array of tokens

ProfilerStorageInterface::purge()

purge() Purges all data from the database.

ProfilerPass

class ProfilerPass implements CompilerPassInterface Adds tagged data_collector services to profiler service. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

ProfilerStorageInterface

interface ProfilerStorageInterface ProfilerStorageInterface. Methods array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. Profile read(string $token) Reads data associated with the given token. bool write(Profile $profile) Saves a Profile. purge() Purges all data from the database. Details array find(string $ip, string $url, string $limi

ProfilerListener

class ProfilerListener implements EventSubscriberInterface ProfilerListener collects data for the current request by listening to the kernel events. Methods __construct(Profiler $profiler, RequestStack $requestStack, RequestMatcherInterface $matcher = null, bool $onlyException = false, bool $onlyMasterRequests = false) Constructor. onKernelException(GetResponseForExceptionEvent $event) Handles the onKernelException event. onKernelResponse(FilterResponseEvent $event) Handles the

ProfilerListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

ProfilerListener::onKernelException()

onKernelException(GetResponseForExceptionEvent $event) Handles the onKernelException event. Parameters GetResponseForExceptionEvent $event A GetResponseForExceptionEvent instance

ProfilerListener::onKernelResponse()

onKernelResponse(FilterResponseEvent $event) Handles the onKernelResponse event. Parameters FilterResponseEvent $event A FilterResponseEvent instance

ProfilerListener::onKernelTerminate()

onKernelTerminate(PostResponseEvent $event) Parameters PostResponseEvent $event