There are several methods available to get, set and clear the current tenant. All methods are available using the tenant model directly, or through the laravel service container app(istenant::class). If the request does not have a current tenant for these routes, an spatie\multitenancy\exceptions\nocurrenttenant exception will be thrown.

Current market model do you wish to know which processes are used to exchange information between the various market roles on the distribution level in the energy market? Automatically determining the current tenant at the start of each request, the package will try to determine which tenant should be active for the current request. The package ships with a class รขโ‚ฌยฆ