Delegate bootstrap registration lazily
* Keep the registration context
* Expose the context object for other components
* Ensure registration is only run once
Search providers are migrated for demonstration.
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
Showing
- lib/private/AppFramework/Bootstrap/Coordinator.php 19 additions, 14 deletionslib/private/AppFramework/Bootstrap/Coordinator.php
- lib/private/AppFramework/Bootstrap/RegistrationContext.php 3 additions, 14 deletionslib/private/AppFramework/Bootstrap/RegistrationContext.php
- lib/private/Search/SearchComposer.php 16 additions, 24 deletionslib/private/Search/SearchComposer.php
- tests/lib/AppFramework/Bootstrap/CoordinatorTest.php 0 additions, 6 deletionstests/lib/AppFramework/Bootstrap/CoordinatorTest.php
Loading
Please register or sign in to comment