-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document new bootstrap process #2164
Conversation
5e76e5d
to
1978688
Compare
1978688
to
c44ed8c
Compare
c44ed8c
to
406d7a1
Compare
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
406d7a1
to
33be7a9
Compare
|
||
The overall process is as follows. | ||
|
||
1) Each installed and enabled app that has an ``Application`` class class that implements ``IBootstrap``, the ``register`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1) Each installed and enabled app that has an ``Application`` class class that implements ``IBootstrap``, the ``register`` | |
1) Each installed and enabled app that has an ``Application`` class that implements ``IBootstrap``, the ``register`` |
The overall process is as follows. | ||
|
||
1) Each installed and enabled app that has an ``Application`` class class that implements ``IBootstrap``, the ``register`` | ||
method will be called. This method receives a context argument via which the app can prime the dependency injection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... a context argument to prepare the dependency injection container and register other services lazily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Will the old style still be supported? |
Right now, yes. But I guess we will phase out the loading of app.php as it's obsolete now. |
For nextcloud/server#20865