diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-11-05 22:26:58 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-11-05 22:26:58 -0400 |
commit | 3f7840c4db7384eb142f92c33330827b8d7255f9 (patch) | |
tree | 8f0cb3b6e0039eb4914534dd64718ecff6dc4715 /app/Core/ExternalTask/ExternalTaskInterface.php | |
parent | ae5d31e4c285e0ce672de780fdacff953fe71bba (diff) |
Add the possibility to create external tasks
Diffstat (limited to 'app/Core/ExternalTask/ExternalTaskInterface.php')
-rw-r--r-- | app/Core/ExternalTask/ExternalTaskInterface.php | 26 |
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(); +} |