1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 13:54:03 +00:00

Clarify TenantAssetController docblock

This commit is contained in:
lukinovec 2026-08-20 16:44:19 +02:00 committed by Samuel Stancl
parent 9403d8c8fd
commit 848736448c

View file

@ -14,9 +14,11 @@ use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Throwable; use Throwable;
/** /**
* Requires FilesystemTenancyBootstrapper to be enabled, since the assets are served from * Requires FilesystemTenancyBootstrapper to be enabled, since the assets are served from the
* the tenant's storage directory (or from the root of $publicDisk), and neither is * tenant's storage directory, which isn't tenant-specific unless the bootstrapper scopes it.
* tenant-specific unless the bootstrapper scopes it. *
* With a $publicDisk configured, the assets are served from the disk's root instead, so the
* bootstrapper is only needed if that root should be tenant-specific.
* *
* @see FilesystemTenancyBootstrapper * @see FilesystemTenancyBootstrapper
*/ */