Hi,

PSR-11, aka ContainerInterface, has been sleeping for too long. Let's get 
that PSR moving!

Here is a change I would like to suggest: *remove the interface 
ContainerException*.

After years of using container-interop and ContainerInterface I have not 
seen a use case for that exception. We initially added it to represent any 
exception that could happen in a container. But as far I can I see, it's 
never useful, in other words it could as well be "\Exception" and the 
result would be the same. Here is the original discussion that lead to such 
interface: 
https://github.com/container-interop/container-interop/issues/3#issuecomment-33133155

Here is the pull request to remove the 
interface: https://github.com/php-fig/container/pull/2

Just to be clear: I am not suggesting to remove NotFoundException, this 
exception is useful.

If anyone has ever seen a use case for that exception, please let me know :)

Matthieu

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/59dfaa6f-9cb4-49f6-8c83-d248e8567532%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to