Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is a mistake that can be made easily:
return array( DI\object('Foo\Bar') ->constructor(/* ... */), );
Here the entry is not indexed by the class name.
PHP-DI should throw an exception to avoid silent errors of missing definitions.
The text was updated successfully, but these errors were encountered:
Fix #242 Error in case a definition is not indexed by a string
51d797a
Merge pull request #465 from PHP-DI/fix-242
6577964
mnapoli
No branches or pull requests
Here is a mistake that can be made easily:
Here the entry is not indexed by the class name.
PHP-DI should throw an exception to avoid silent errors of missing definitions.
The text was updated successfully, but these errors were encountered: