Closed newtonjob closed 1 year ago
This PR just adds an alias for the makeCurrent() method, as some syntactic sugar.
makeCurrent()
// To make a tenant the current one, we can currently do this; $tenant->makeCurrent(); // This PR also let's us do this; $tenant->use();
The philosophy is inline with the current simple, terse, one word forget() method.
forget()
$tenant->forget();
Inspiration: https://youtu.be/592EgykFOz4?t=543 @themsaid
Thanks for your time on it, but It’s better to keep the code as clean as possible.
This PR just adds an alias for the
makeCurrent()
method, as some syntactic sugar.The philosophy is inline with the current simple, terse, one word
forget()
method.Inspiration: https://youtu.be/592EgykFOz4?t=543 @themsaid