PHP-DI / Symfony-Bridge

PHP-DI integration with Symfony
http://php-di.org/doc/frameworks/symfony2.html
Other
17 stars 11 forks source link

To use PHP-DI 6.0 with the Symfony Bridge, with Symfony 3.3, 3.4 et 4+ #19

Closed frenchcomp closed 6 years ago

frenchcomp commented 6 years ago

Hi, It's some patchs to allow use PHP-DI 6 with the bridge on Symfony 3.3, 3.4 and 4+. This patch set the minimum required version of PHP to 7.0 (needed by PHP-DI 6).

I limited to Symfony 3.3 and higher because, from this version its container follows the PSR-11.

To allow alias from the PHP-DI container to the Symfony container, the Symfony service must be tagged as public, else it's not available with SF 4.0 and a deprecation notice is thrown with Symfony 3.4.

Have a nice day. Richard.

frenchcomp commented 6 years ago

Thanks for your review. I will fix them this week.

frenchcomp commented 6 years ago

It's done. Sorry, it was a busy week..

mnapoli commented 6 years ago

Thanks!