diff --git a/config/services.yaml b/config/services.yaml index 64792d5b..e22f5b7f 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -108,4 +108,6 @@ services: tags: - { name: kernel.event_listener, event: kernel.request, method: onKernelRequest, priority: 101 } - Symfony\Component\HttpKernel\Profiler\Profiler: '@profiler' \ No newline at end of file +when@dev: + services: + Symfony\Component\HttpKernel\Profiler\Profiler: '@profiler' \ No newline at end of file