mirror of
https://github.com/archtechx/tenancy.git
synced 2026-09-20 15:14:03 +00:00
Reword DeleteTenantStorage docblock
The docblock said that the FSBootstrapper was required for this job to work at all, but that's not fully true since the job just uses the FSBootstrapper's public static methods to get the storage paths.
This commit is contained in:
parent
4826667ac1
commit
5e54e3e7d9
1 changed files with 4 additions and 2 deletions
|
|
@ -16,8 +16,10 @@ use Stancl\Tenancy\Contracts\Tenant;
|
|||
/**
|
||||
* Delete the tenant's storage directory.
|
||||
*
|
||||
* Requires FilesystemTenancyBootstrapper to be enabled, since the tenant storage path
|
||||
* is resolved from it.
|
||||
* The directory is the one FilesystemTenancyBootstrapper scopes the tenant's disks, cache
|
||||
* and sessions to. The path is derived the same way the bootstrapper derives it, so the
|
||||
* bootstrapper doesn't *have* to be enabled (though if it isn't, nothing was written there and
|
||||
* there's nothing to delete).
|
||||
*
|
||||
* Files outside that directory (e.g. disks with an %original_storage_path%-based
|
||||
* root_override) are not deleted.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue