RemoveStorageSymlinksAction
class RemoveStorageSymlinksAction (View source)
Traits
Methods
static Collection
possibleTenantSymlinks(Tenant $tenant)
Get all possible tenant symlinks, existing or not (array of ['public path' => 'storage path']).
static bool
symlinkExists(string $link)
Determine if the provided path is an existing symlink.
static void
handle(LazyCollection $tenants)
No description
static void
Details
static protected Collection
possibleTenantSymlinks(Tenant $tenant)
Get all possible tenant symlinks, existing or not (array of ['public path' => 'storage path']).
Tenants can have a symlink for each disk registered in the tenancy.filesystem.url_override config.
This is used for creating all possible tenant symlinks and removing all existing tenant symlinks.
static protected bool
symlinkExists(string $link)
Determine if the provided path is an existing symlink.
static void
handle(LazyCollection $tenants)
No description
static protected void
removeLink(string $publicPath, Tenant $tenant)
No description