Tenancy can be initialized using the following methods on
Similarly, tenancy can be ended using:
You can use these methods in
php artisan tinker.
Tenant Routes have the
InitializeTenancy middleware applied to them. That middleware automatically initializes tenancy for the current hostname.