aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/ServerContainer.php
Commit message (Collapse)AuthorAgeFilesLines
* Move to str_starts_withJulius Härtl2022-12-071-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Take some shortcut when setting up the application classJulius Härtl2022-12-071-4/+7
| | | | | | | | When getting the application class we can ask the app container directly and skip the server container as it won't find a match and fallback to the app container anyways Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Improve container return type annotationsJulius Härtl2022-10-141-0/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* First query the server containerRoeland Jago Douma2020-11-071-0/+6
| | | | | | | | | When the servercontainer wants to obtain something changes are very high this is something from the server container. Esp on setups with a lot of shares this can change quite a bit as it avoid a needless check on the strpos OCA\\ etc. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix overwriteService() for appsJoas Schilling2020-07-281-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Deprecate the query mothod on the server containerChristoph Wurst2020-07-171-0/+3
| | | | | | | | | | | | The interface method has already been deprecated, but if some code uses the concrete type instead, the deprecation is not shown (by phpstorm), so I think it's better to have this method tagged as well. The "fix" for this deprecation is to simply use `get` instead of `query`. Right now this will work 100% the same, but the goal is to slim down the interface and only use what PSR-11 offers. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use PSR container interface and deprecate our own abstractionChristoph Wurst2020-07-161-7/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make sure we create an app's Application class just onceChristoph Wurst2019-10-111-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not try to autoload built in typesRoeland Jago Douma2019-06-041-7/+2
| | | | | | | | This avoids calls to the autoloader (or chain of autoloaders) to see if for example 'principalPrefix' class can be found. While we already know it is a string. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make the file strictJoas Schilling2019-03-051-4/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Avoid duplicate App container creationJoas Schilling2019-03-051-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make TestCase->overwriteService() work with App classesJoas Schilling2019-02-141-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix missing argument 2 for Settings classesJoas Schilling2017-05-191-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow automatic DI for apps that don't register the container in app.phpJoas Schilling2017-05-161-2/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add activities when email or password is changedJoas Schilling2017-04-131-0/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Register the namespace with the autoloading to allow reverse recoveryJoas Schilling2017-03-221-7/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't do a recursive searchJoas Schilling2017-03-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Save the container with the app's namespace so we can resolve itJoas Schilling2016-08-221-1/+2
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move more from \OC to PSR-4Roeland Jago Douma2016-04-291-0/+89
* \OC\OCSClient * \OC\Preview * \OC\PreviewManager * \OC\Repair * \OC\RepairException * \OC\Search * \OC\ServerContainer * \OC\ServerNotAvailableException * \OC\ServiceUnavailableException * \OC\Setup * \OC\Streamer * \OC\SubAdmin * \OC\SystemConfig * \OC\TagManager * \OC\Tags * \OC\TempManager * \OC\TemplateLayout * \OC\URLGenerator * \OC\Updater