You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some info if someone feels like writing docs about this issue:
I've done some digging and the name is correct, however, something like compiled service would also be possible. For those who are not familiar with it: This PR makes it impossible to change a pre-defined service. A predefined service, is a service that is registered in the methodMap property in the container. This is a key value array where the key is the service id, and the value is the method in the container to return that service.
When calling $container->set('foo.baz', ...);, it will now register that service instance internally: $this->services[$id] = $service;. If I understand this PR correctly, 4.0 will no longer make this possible if this service is pre-defined (aka, available in the compiled/extended container).
See symfony/symfony#21533
By the way, the "pre-defined services" name could be improved. I don't know what does it mean exactly.
The text was updated successfully, but these errors were encountered: