summaryrefslogtreecommitdiff
path: root/app/Core/ExternalTask/ExternalTaskInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/ExternalTask/ExternalTaskInterface.php')
-rw-r--r--app/Core/ExternalTask/ExternalTaskInterface.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/Core/ExternalTask/ExternalTaskInterface.php b/app/Core/ExternalTask/ExternalTaskInterface.php
new file mode 100644
index 00000000..084af509
--- /dev/null
+++ b/app/Core/ExternalTask/ExternalTaskInterface.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace Kanboard\Core\ExternalTask;
+
+/**
+ * Interface ExternalTaskInterface
+ *
+ * @package Kanboard\Core\ExternalTask
+ * @author Frederic Guillot
+ */
+interface ExternalTaskInterface
+{
+ /**
+ * Return Uniform Resource Identifier for the task
+ *
+ * @return string
+ */
+ public function getUri();
+
+ /**
+ * Return a dict to populate the task form
+ *
+ * @return array
+ */
+ public function getFormValues();
+}