1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-07 04:54:03 +00:00
Commit graph

19 commits

Author SHA1 Message Date
lukinovec
34115e84c7 Rollback config if bootstrap fails 2026-04-13 15:23:04 +02:00
lukinovec
8fda84fcee Throw exception if override closure doesn't return array 2026-04-13 14:39:42 +02:00
github-actions[bot]
cdea112ad5 Fix code style (php-cs-fixer) 2026-04-13 12:26:58 +00:00
lukinovec
b74416721a Fix PHPStan error 2026-04-13 14:26:41 +02:00
github-actions[bot]
f705f5849f Fix code style (php-cs-fixer) 2026-04-13 12:15:54 +00:00
lukinovec
221a9950c2 Support channel overrides using dot notation 2026-04-13 14:15:27 +02:00
lukinovec
89b0d1cb4b Include all storage path channels and overrides in getChannels()
Instead of handling just the default channel, make LogTenancyBootstrapper handle all the channels that should be affected (= $storagePathChannels, channels from $channelOverrides and the default channel in case 'stack' is the default)
2026-04-13 13:55:59 +02:00
lukinovec
ae39e4dfd4 Clarify behavior in log bootstrapper comments 2025-10-29 14:56:37 +01:00
lukinovec
108e0d1363 Swap closure param order, add/update comments 2025-10-29 14:12:53 +01:00
lukinovec
f878aaf4e4 Improve closure overrides 2025-10-29 10:21:08 +01:00
lukinovec
c180c2c54e Use more accurate terminology 2025-07-31 16:54:08 +02:00
lukinovec
7bdbe9d880 Improve checking if tenant attribute is set 2025-07-31 16:52:06 +02:00
lukinovec
42c837d967 Refactor bootstrapper, provide more info in comments 2025-07-31 16:25:40 +02:00
lukinovec
63bf4bf80e Clarify bootstrapper comments 2025-07-31 15:30:14 +02:00
lukinovec
bd44036a9f By default, only override the config if the override tenant property is set (otherwise, just skip the override and keep the default config value) 2025-07-31 15:15:33 +02:00
lukinovec
8cd35d3985 Add @see to bootstrapper docblock 2025-07-29 12:50:18 +02:00
lukinovec
ec4752881c Refactor bootstrapper, make comments more concise 2025-07-29 12:48:11 +02:00
github-actions[bot]
96a05cdce8 Fix code style (php-cs-fixer) 2025-07-28 10:11:35 +00:00
lukinovec
01a06c9210 Add LogTenancyBootstrapper 2025-07-28 12:11:09 +02:00