summaryrefslogtreecommitdiff
path: root/src/Task
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2017-09-02 20:30:30 +0100
committerFbenas <philbeansburton@gmail.com>2017-09-02 20:30:30 +0100
commit7d2128f364c0e81a15653db2508d3e09b262eca1 (patch)
tree654ed84f42059aa4fd85e93c96db2824da7f06cb /src/Task
parente237e378a0bfc6e906d7cf682fc7f7fd4af74528 (diff)
Refactor site:create command to allow creation of extra tasks easier
Diffstat (limited to 'src/Task')
-rw-r--r--src/Task/TaskInterface.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Task/TaskInterface.php b/src/Task/TaskInterface.php
new file mode 100644
index 0000000..407e6c8
--- /dev/null
+++ b/src/Task/TaskInterface.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace App\Task;
+
+/**
+ * A simple task object that can be executed
+ */
+interface TaskInterface
+{
+ public function execute();
+}