Closed rmccullagh closed 4 years ago
Hi @rmccullagh
Thanks for your PR!
Let me understand this right: you need this when resolving the class directly when not using the existing Facade?
If this is the case, can't we just update the TeamworkServiceProvider having an alias teamwork
resolving to the Teamwork class then?
Hi @okaufmann,
Yes, this PR would allow the Laravel container to resolve an instance of Teamwork. Your solution would also work.
Great! I've added the alias and released a new version (6.0.3)
For the Laravel service container to properly construct an instance of Teamwork, we must type the parameters.