Dependency injection in custom checks #155
dennis-koster
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I would be open for a PR that adds this ability in a non breaking way. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Would it be possible to add the ability to use Laravel's service container for dependency injection in custom checks?
We could either add it to the
__construct
or therun
method of the class, to perhaps be more in line with queued jobs and theirhandle
method.Would love to hear your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions