summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Bootstrap/IBootContext.php
Commit message (Collapse)AuthorAgeFilesLines
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the proper IAppContainer and IServerContainer type hints to know which ↵Morris Jobke2020-07-211-5/+4
| | | | | | code runs with which container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make the bootstrap context return ContainerInterface instancesChristoph Wurst2020-07-211-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use PSR container interface and deprecate our own abstractionChristoph Wurst2020-07-161-3/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Callable parameter injectionChristoph Wurst2020-07-031-0/+22
| | | | | | | | | | | | | | This is like what we have to DI and classes, but for callables. The motivating factor is to get rid of *service locators* in the `boot` method of apps as a new pattern is about to emerge where we have lots of `query` calls on the app or server container in order to fetch some services. With this little helper it's possible to call another (public) method and magically have everything injected. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add dedicated API for apps' bootstrapping processChristoph Wurst2020-06-171-0/+55
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>