summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-08-14 15:40:15 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-08-14 15:40:15 +0200
commit0b64268910a0fc681f1b2b6a154e08af2818b379 (patch)
tree7d3f43e160be376cf42f48c637d416372e82be58 /lib/public
parentddc7f668e59223d95cb42e4f0281d5dab5888d79 (diff)
downloadnextcloud-server-0b64268910a0fc681f1b2b6a154e08af2818b379.tar.gz
nextcloud-server-0b64268910a0fc681f1b2b6a154e08af2818b379.zip
Adding EventDispatcher to IServerContainer
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/iservercontainer.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index ab1729da255..a6d83156de3 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -39,6 +39,7 @@
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP;
+use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
@@ -439,4 +440,12 @@ interface IServerContainer {
*/
public function getMimeTypeDetector();
+
+ /**
+ * Get the EventDispatcher
+ *
+ * @return EventDispatcherInterface
+ * @since 8.2.0
+ */
+ public function getEventDispatcher();
}