1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 22:04:03 +00:00

Update ForgetTenantParameter-related comments

This commit is contained in:
lukinovec 2025-07-08 13:13:27 +02:00
parent 393f263f03
commit b1c9bd3491
3 changed files with 20 additions and 13 deletions

View file

@ -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' => [