symfony/symfony — Issue #3277: [Container][Event] Registering an event on a private service silently fails
Author: vicb
Created: 2012-02-06 11:59:34+00:00
State: open

```xml

```

`onKernelController` would never be called if the service is made private.

I don't know which solution is better:

* Change the service visibility while building the container,
* Throw an exception while building the container,
* ?

@schmittjoh any feedback ?