diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-17 14:44:02 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-17 14:44:02 +0200 |
commit | 5bc8510b3b72cf4bc96614784110d88de8feea87 (patch) | |
tree | 1d8d91743c29495ad88c14097d4cc184e612226d /lib/public/AppFramework/Bootstrap/IBootstrap.php | |
parent | 39f3fcdf6b41291dcdb6908807d6923621528cee (diff) | |
download | nextcloud-server-5bc8510b3b72cf4bc96614784110d88de8feea87.tar.gz nextcloud-server-5bc8510b3b72cf4bc96614784110d88de8feea87.zip |
Load the app.php before running apps' boot method
Some apps require the composer autoloader from app.php. If we run boot
before including that file, classes and functions from dependencies
won't be found.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/AppFramework/Bootstrap/IBootstrap.php')
-rw-r--r-- | lib/public/AppFramework/Bootstrap/IBootstrap.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IBootstrap.php b/lib/public/AppFramework/Bootstrap/IBootstrap.php index 581c7d6636a..770c830e735 100644 --- a/lib/public/AppFramework/Bootstrap/IBootstrap.php +++ b/lib/public/AppFramework/Bootstrap/IBootstrap.php @@ -38,6 +38,13 @@ interface IBootstrap { public function register(IRegistrationContext $context): void; /** + * Boot the application + * + * At this stage you can assume that all services are registered and the DI + * container(s) are ready to be queried. + * + * This is also the state where an optional `appinfo/app.php` was loaded. + * * @param IBootContext $context * * @since 20.0.0 |