Sets the profiler.
Parameters
Profiler|null $profiler A Profiler instance:
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php, line 65
Class
- TraceableEventDispatcher
- Collects some data about event listeners.
Namespace
Symfony\Component\HttpKernel\Debug
Code
public function setProfiler(Profiler $profiler = null) {
$this->profiler = $profiler;
}