- /**
- * Sets the profiler.
- *
- * The traceable event dispatcher does not use the profiler anymore.
- * The job is now done directly by the Profiler listener and the
- * data collectors themselves.
- *
- * @param Profiler|null $profiler A Profiler instance
- *
- * @deprecated since version 2.4, to be removed in 3.0.
- */
- public function setProfiler(Profiler $profiler = null)
- {
- @trigger_error('The '.__METHOD__.' method is deprecated since version 2.4 and will be removed in 3.0.', E_USER_DEPRECATED);
- }
-