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