You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thinkhandle() supports DI and that we have this Tenant binding (note that it's the contract, not your model) already, but haven't tested the combination.
Description
To get the current tenant in
handle
while using the TenantAwareCommand trait, we need to call$tenant = tenant();
We could simply pass it using:
An alternative would be to add a
handleTenant
method and callhandle
without argument to be 'more BC'Would you be interested in a PR?
The text was updated successfully, but these errors were encountered: