Christophe Coevoet

Results 2309 comments of Christophe Coevoet
trafficstars

are you getting the error in the browser or in the CLI ?

then simply look at the following lines of the error page. It should display the full stack trace of the exception

do you have xdebug enabled ?

Well, on the other hand, guessing based on the FQCN would force to be explicit for all core services (for which the current guessing can work fine). And changing the...

`@Inject` is about configuring the service in the DI container (like everything else in DIExtraBundle). `$sar=new sugarAjaxRequest($request);` has no way to be instrumented by JMSDIExtraBundle.

Well, the main benefit of defining a controller as a service is using dependency injection in the controller class. If you inject the whole container in it, you are loosing...

@schmittjoh FYI, sonata removed their controllers from the compiled class file in their 2.1 branch recently but it has not yet been merged into master for 2.2. But DIExtraBundle should...

the reason is that the [cache warmer](https://github.com/schmittjoh/JMSDiExtraBundle/blob/master/HttpKernel/ControllerInjectorsWarmer.php#L59) is requiring all controllers, which break if one of them was defined in the bootstrap file

Listeners have to be services. your controller is not a service. Btw, if your controller method is considered as a listener, you have a big issue about the responsibility of...

@qpleple a kernel.request listener can set a RedirectResponse in the event if you want (returning it has no effect though). For the doc, I guess this sentence has been written...