1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 11:14: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;
/**
* Requires FilesystemTenancyBootstrapper to be enabled, since the assets are served from
* the tenant's storage directory (or from the root of $publicDisk), and neither is
* tenant-specific unless the bootstrapper scopes it.
* Requires FilesystemTenancyBootstrapper to be enabled, since the assets are served from the
* tenant's storage directory, which isn't 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
*/