I tried searching but couldn't find the reason PSR-11 doesn't have a 
`register`, `add` or similar method to register a new service in the 
container.

I'm not sure if I misunderstood something, but it looks like I'll still 
have to create a new contract wrapper around PSR-11 to define how to 
register new services to the container, and then I'll have to make a bridge 
for each provider, since they won't agree on how to add new services. 
Wouldn't it defeat the purpose of this PSR, which is interoperability?

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To post to this group, send email to php-fig@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/1877a319-8b9e-4150-8048-97e6b43750ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to