summaryrefslogtreecommitdiffstats
path: root/lib/public/command/icommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/command/icommand.php')
-rw-r--r--lib/public/command/icommand.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/command/icommand.php b/lib/public/command/icommand.php
new file mode 100644
index 00000000000..6de61258a41
--- /dev/null
+++ b/lib/public/command/icommand.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Copyright (c) 2015 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+namespace OCP\Command;
+
+interface ICommand {
+ /**
+ * Run the command
+ */
+ public function handle();
+}