Added accept() and doShutdown() to Taskable as this will always be needed.
[core.git] / inc / classes / main / tasks / class_
index daacdeb..1bbb87e 100644 (file)
@@ -66,6 +66,16 @@ class !!!???Task extends BaseTask implements Taskable, Visitable {
        public function executeTask () {
                $this->partialStub('Unimplemented task.');
        }
+
+       /**
+        * Shuts down the task
+        *
+        * @return      void
+        * @todo        0% done
+        */
+       public function doShutdown () {
+               self::createDebugInstance(__CLASS__)->debugOutput('TASK[' . __METHOD__ . ':' . __LINE__ . ']: Shutting down...');
+       }
 }
 
 // [EOF]