Please sign in to comment.
feature #21265 [DI] Implement PSR-11 (greg0ire)
This PR was merged into the 3.3-dev branch. Discussion ---------- [DI] Implement PSR-11 TODO: - [x] wait for a stable version of the psr/container package; - [x] ~~deprecate instanciating ServiceNotFoundException directly, or using any of its methods directly;~~ not relevant anymore - [x] act on the outcome of php-fig/container#8 (solved in php-fig/container#9) ; - [x] ~~solve the mandatory NotFoundExceptionInterface on non-existing service problem (with a flag ?);~~ non-issue, see comments below - [x] provide meta-package psr/container-implementation if all problems can be solved. | Q | A | ------------- | --- | Branch? | master | New feature? | yes | BC breaks? | not at the moment | Tests pass? | didn't pass before pushing, or even starting to code, will see Travis | License | MIT | Doc PR | TODO This PR is a first attempt at implementing PSR-11, or at least trying to get closer to it. Delegate lookup is optional, and thus not implemented for now. Commits ------- bde0efd Implement PSR-11
- Loading branch information...
Showing with 16 additions and 4 deletions.
- +2 −0 composer.json
- +1 −0 src/Symfony/Bundle/FrameworkBundle/Resources/config/services.xml
- +2 −1 src/Symfony/Component/DependencyInjection/ContainerInterface.php
- +3 −1 src/Symfony/Component/DependencyInjection/Exception/ExceptionInterface.php
- +3 −1 src/Symfony/Component/DependencyInjection/Exception/ServiceNotFoundException.php
- +5 −1 src/Symfony/Component/DependencyInjection/composer.json