W dniu poniedziałek, 29 sierpnia 2016 15:24:56 UTC+2 użytkownik David Négrier napisał: > > > I'm not sure I understand your comment. Do you mean we should rename it to > something more specific, like EntryNotFoundExceptionInterface? >
Yes, I do. > I strongly disagree with you here. Each framework has its own hierarchy of > exceptions. Requiring an existing framework to throw an exception provided > by this PSR would likely cause breaking changes in the framework. Have a > look at Symfony for instance. The container has already a "has" and a "get" > method. Implementing PSR-11 would be a breeze (if they want to). If however > we require them to use a ContainerException "class" (instead of an > interface), that adoption could not be done before Symfony 4 (because > Symfony currently has its own NotFoundException and it cannot change it > without breaking the API). > > I think, there is a possibility to re-throw an exception in PSR wrapper without breaking API. Next minor as a new functionality is enough. Best regards, Krzysiek. -- 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/89928e00-d6d3-4cd4-9731-f90b49cebe59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
