Skip to content

Conversation

@seriquynh
Copy link
Contributor

See #26856 for a little bit more information!

If the container can resolve an abstract type, it just simply returns it. Otherwise, it raises an exception that "I can't resolve this abstract type". This logic is reasonable for the IOC container and each implementation should follow.

@GrahamCampbell
Copy link
Collaborator

Looks good to me. 🚀

@taylorotwell taylorotwell merged commit 104a14f into laravel:master Jan 21, 2019
@seriquynh seriquynh deleted the container_make_method_throws_exception branch January 22, 2019 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants