mirror of
https://github.com/archtechx/tenancy.git
synced 2026-09-20 15:14:03 +00:00
Correct and clarify the suffix appending comment in tenantScopedPath
Also correct the terminology/wording in the related test.
This commit is contained in:
parent
6ee058d166
commit
bd101797ea
2 changed files with 5 additions and 4 deletions
|
|
@ -250,7 +250,8 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
|||
->toString();
|
||||
}
|
||||
|
||||
// Otherwise $configuredPath isn't necessarily storage_path()-based, so just append the suffix directly.
|
||||
// Otherwise $configuredPath isn't necessarily storage_path()-based, so just append the
|
||||
// suffix as a subdirectory, e.g. '/var/cache/foo' becomes '/var/cache/foo/tenant1'.
|
||||
return rtrim($configuredPath, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $suffix;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue