Symfony\Component\HttpKernel\EventListener\ProfilerListener::__construct
Constructor.
Signature
public function __construct(Profiler
$profiler,
[RequestMatcherInterface
$matcher = null,
[Boolean
$onlyException = false,
[Boolean
$onlyMasterRequests = false]]] )
Parameters
$profiler
— Symfony\Component\HttpKernel\Profiler\Profiler- A Profiler instance
$matcher
— Symfony\Component\HttpFoundation\RequestMatcherInterface- A RequestMatcher instance
$onlyException
— object- true if the profiler only collects data when an exception occurs, false otherwise
$onlyMasterRequests
— object- true if the profiler only collects data when the request is a master request, false otherwise