diff --git a/src/Symfony/Component/HttpKernel/Profiler/Profiler.php b/src/Symfony/Component/HttpKernel/Profiler/Profiler.php index f2fc8a937a..a4d27c2269 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/Profiler.php +++ b/src/Symfony/Component/HttpKernel/Profiler/Profiler.php @@ -51,6 +51,14 @@ class Profiler $this->enabled = false; } + /** + * Enables the profiler. + */ + public function enable() + { + $this->enabled = true; + } + /** * Loads the Profile for the given Response. *