Closed thekid closed 9 years ago
This pull request introduces a new way (pun intended!) to use the injector:
// Before $instance= $injector->get(T::class); // After $instance= $injector->new(T::class);
BC is kept w/ the get() verb but support for PHP 5.x is dropped - this feature relies on the context sensitive lexer RFC
get()
PHP 5.x is dropped
Can be reopened once PHP 7 has a more widespread adoption...
This pull request introduces a new way (pun intended!) to use the injector:
BC is kept w/ the
get()
verb but support for PHP 5.x is dropped - this feature relies on the context sensitive lexer RFC