Minor patch to add the provide: psr/container-implementation
to composer.json
Note that PHP-DI was already compliant with PSR-11 because it was implementing container-interop, and container-interop 1.2 extends PSR-11. This new version just makes it more explicit and will allow to drop container-interop support in the next major versions.
Read the news entry.
New features:
php
return [
'Database' => DI\factory(function ($host) {...})
->parameter('host', DI\get('db.host')),
];
Read the factories documentation to learn more. Feature implemented by @predakanga.Improvements:
ContainerBuilder
has built a container, it is locked to prevent confusion when adding new definitions to it (by @mnapoli)Read the news entry.
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2017-dd8b802b37
Please login to add feedback.
This update has been submitted for testing by siwinski.
This update has been pushed to testing.
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by siwinski.
This update has been pushed to stable.