Skip to content
New issue

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

Enable dependency injection in check constructors #157

Conversation

dennis-koster
Copy link

This PR aims to enable dependency injection in the constructor of check classes, by leveraging Laravel's container bindings.

In order to achieve this, the constructor signature of the abstract Check class has been made non-final.

@dennis-koster dennis-koster force-pushed the feature/enable-dependency-injection-in-check-constructor branch from 5fc13a3 to 5138e55 Compare February 2, 2023 15:45
@freekmurze freekmurze merged commit 77b8ef8 into spatie:main Feb 2, 2023
@freekmurze
Copy link
Member

Thanks!

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.

2 participants