Closed tlode closed 9 years ago
I don't know if this would be the right solution, I am just getting started with symfony.
It’s a solution but I prefer loading the profiler services only if the @profiler
service exists. Without it, the profiler controller have no sense.
I agree. Thank you for looking into it!
When running in prod environment, I get this error message
Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException' with message 'The service "pomm.controller.profiler" has a dependency on a non-existent service "profiler"
Could it be that the service
pomm.controller.profiler
should reference@profiler
as an optional argument inpomm-bundle/sources/lib/Resources/config/services.yml
?I don't know if this would be the right solution, I am just getting started with symfony.