1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:14:04 +00:00
tenancy/src
lukinovec cecf07a8c9
[4.x] Add tenant parameter to defaults() in UrlGeneratorBootstrapper (#1311)
* Pass tenant parameter using defaults in UrlGeneratorBootstrapper, update tests accordingly (wip)

* Fix code style (php-cs-fixer)

* Update bootstrapper

* Improve TenancyUrlGenerator docblocks

* Improve bootstrapper/TenancyUrlGenerator tests (WIP)

* Improve route() name prefixing test

* Keep  `UrlGeneratorBootstrapper::$addTenantParameterToDefaults` disabled by default

* Add `$override` functionality  to TenancyUrlGenerator

* Test $override functionality, update new defaults in the bootstrapper tests

* Fix code style (php-cs-fixer)

* Update comments

* Update routeNameOverride()

* cleanup

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2025-02-14 13:57:29 +01:00
..
Actions [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Bootstrappers [4.x] Add tenant parameter to defaults() in UrlGeneratorBootstrapper (#1311) 2025-02-14 13:57:29 +01:00
Commands [4.x] Fix tenants:run argument parsing (#1287) 2025-01-11 12:03:09 +01:00
Concerns phpstan fixes 2025-01-05 15:50:30 +01:00
Contracts [4.x] Improve id generators (#1300) 2025-01-21 17:06:15 +01:00
Controllers [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Database phpstan fixes 2025-01-05 15:50:30 +01:00
Enums Improve file structure (#5) 2023-08-03 17:51:53 +02:00
Events Enable single_line_empty_body phpcsfixer rule 2024-04-02 04:31:03 +02:00
Exceptions [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Facades Extend GlobalCache facade from the original facade (#495) 2020-09-18 23:18:21 +02:00
Features [4.x] Add DisallowSqliteAttach feature (#1283) 2025-01-04 15:34:37 +01:00
Jobs fix: drop tenant databases on migrate fresh without domains (#1282) 2025-01-01 20:31:47 +01:00
Listeners make Create/DeleteTenantStorage listeners handle existing/missing directories gracefully 2024-07-12 01:53:15 +02:00
Middleware [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Overrides [4.x] Add tenant parameter to defaults() in UrlGeneratorBootstrapper (#1311) 2025-02-14 13:57:29 +01:00
Resolvers phpstan fixes 2025-01-05 15:50:30 +01:00
ResourceSyncing phpstan fixes 2025-01-05 15:50:30 +01:00
RLS/PolicyManagers phpstan fixes 2025-01-05 15:50:30 +01:00
UniqueIdentifierGenerators [4.x] Improve id generators (#1300) 2025-01-21 17:06:15 +01:00
helpers.php [4.x] General code cleanup (#1278) 2024-12-31 00:35:46 +01:00
Tenancy.php [4.x] Fix 1267: early return in runForMultiple if an empty array is passed (#1286) 2025-02-14 08:19:02 +01:00
TenancyServiceProvider.php [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00