registerService('ContactsManager', function($c){ return new ContactsManager(); }); } /** * @return \OCP\Contacts\IManager */ function getContactsManager() { return $this->query('ContactsManager'); } /** * The current request object holding all information about the request currently being processed * is returned from this method. * In case the current execution was not initiated by a web request null is returned * * @return \OCP\IRequest|null */ function getRequest() { return $this->query('Request'); } }