diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-21 20:03:56 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-08-10 10:45:08 +0200 |
commit | 7e6a2b71fd80fedabc64d10bee5ba0edc0b19cf0 (patch) | |
tree | 885ca90351d6b7fd94bf7e843f3cb15d62378c49 /lib/public/iservercontainer.php | |
parent | 214729a5524e2c406415985717c174bedc810954 (diff) | |
download | nextcloud-server-7e6a2b71fd80fedabc64d10bee5ba0edc0b19cf0.tar.gz nextcloud-server-7e6a2b71fd80fedabc64d10bee5ba0edc0b19cf0.zip |
Added Capabilities Manager
* This should allow the capabilities to be intergrated into the
appframework
* Unit tests
* Throw exception if closure does not return ICapability instance
Diffstat (limited to 'lib/public/iservercontainer.php')
-rw-r--r-- | lib/public/iservercontainer.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php index f3165db33da..6cb8d668658 100644 --- a/lib/public/iservercontainer.php +++ b/lib/public/iservercontainer.php @@ -438,4 +438,12 @@ interface IServerContainer { * @since 8.2.0 */ public function getMimeTypeDetector(); + + /** + * Get the manager of all the capabilities + * + * @return \OCP\Capabilities\IManager + * @since 8.2.0 + */ + public function getCapabilitiesManager(); } |