Beta release of future PHP-DI 7.0.
Not ready for production, please test it out.
- support PHP 7.4 and up (yes, this is important for what's below)
- #738 support PHP 8 attributes for injections: welcome
#[Inject]
to replace@Inject
! - drop support for
@Inject
used with phpdoc annotations -> only native PHP types are supported now
That makes PHP-DI simpler, faster and lighter (no need for the PhpDocReader package) - typed everything that can be typed