mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 23:34:03 +00:00
Update ForgetTenantParameter-related comments
This commit is contained in:
parent
393f263f03
commit
b1c9bd3491
3 changed files with 20 additions and 13 deletions
|
|
@ -92,12 +92,14 @@ return [
|
|||
/**
|
||||
* Identification middleware tenancy recognizes as path identification middleware.
|
||||
*
|
||||
* This is used for determining if a path identification middleware is used
|
||||
* during operations specific to path identification, e.g. forgetting the tenant parameter in ForgetTenantParameter.
|
||||
* This configuration is used to identify which middleware should trigger
|
||||
* conditionally removing the tenant parameter from routes using the ForgetTenantParameter listener.
|
||||
*
|
||||
* The listener only has an effect when path identification middleware is used in the global middleware stack
|
||||
* and certain conditions are met (see ForgetTenantParameter for more info).
|
||||
*
|
||||
* If you're using a custom path identification middleware, add it here.
|
||||
*
|
||||
* @see \Stancl\Tenancy\Actions\CloneRoutesAsTenant
|
||||
* @see \Stancl\Tenancy\Listeners\ForgetTenantParameter
|
||||
*/
|
||||
'path_identification_middleware' => [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue