mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
Merge pull request #21887 from nextcloud/techdebt/deprecate-server-container-query
Deprecate the query mothod on the server container
This commit is contained in:
commit
7224d268e4
1 changed files with 3 additions and 0 deletions
|
|
@ -127,6 +127,9 @@ class ServerContainer extends SimpleContainer {
|
|||
return parent::has($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 20.0.0 use \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function query(string $name, bool $autoload = true) {
|
||||
$name = $this->sanitizeName($name);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue