Server
in package
FinalYes
Class allowing to inject services into your application. You should use whenever possible dependency injections instead.
use OCP\Server;
$tagManager = Server::get(ITagManager::class);
Tags
Table of Contents
Methods
- get() : T|mixed
Methods
get()
public
static get(T>|string $serviceName) : T|mixed
Parameters
- $serviceName : T>|string