]> source.dussan.org Git - nextcloud-server.git/commit
feat(app-framework): Add support for global middlewares 36310/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Mon, 23 Jan 2023 16:11:39 +0000 (17:11 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 26 Jan 2023 10:54:28 +0000 (11:54 +0100)
commit8d9af3e26214f07e833a6b8d8b60329fc71916a7
treec41dc1835261e45f9f5751b0d07d1f45d8f4d7ba
parent3eb73d0a3d081194e676b7e7ba220a118e01e18d
feat(app-framework): Add support for global middlewares

This allows apps to register middlewares that always register, not just
for the app's own requests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/AppFramework/Bootstrap/MiddlewareRegistration.php [new file with mode: 0644]
lib/private/AppFramework/Bootstrap/RegistrationContext.php
lib/private/AppFramework/DependencyInjection/DIContainer.php
lib/public/AppFramework/Bootstrap/IRegistrationContext.php
tests/lib/AppFramework/Bootstrap/RegistrationContextTest.php
tests/lib/AppFramework/DependencyInjection/DIContainerTest.php