1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 19:14:03 +00:00

add docblock

This commit is contained in:
Samuel Štancl 2024-12-19 18:58:36 +01:00 committed by GitHub
parent 58cdae908a
commit e0cfdf09cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,12 @@ class RootUrlBootstrapper implements TenancyBootstrapper
protected string|null $originalRootUrl = null; protected string|null $originalRootUrl = null;
/**
* You may want to selectively enable or disable this bootstrapper in specific tests.
* For instance, when using `Livewire::test()` this bootstrapper may cause problems,
* while in tests that are generating URLs in things like mails the bootstrapper should
* be used just like in any queued job.
*/
public static bool $rootUrlOverrideInTests = false; public static bool $rootUrlOverrideInTests = false;
public function __construct( public function __construct(