Closed roxblnfk closed 2 years ago
We don't can get object from container by intersection types. Injector can use only explicitly passed parameters for arguments with intersection types.
I mean Injector's ability to pass prepared unnamed arguments (without using Container). Also we have some code that prints method signatures. It should support intersected types.
Last issue part is here: https://github.com/yiisoft/injector/issues/65
Need to update the Injector and tests https://wiki.php.net/rfc/pure-intersection-types Enums (just cover with tests)