Added accept() and doShutdown() to Taskable as this will always be needed.
[core.git] / inc / classes / main / tasks / class_
index daacdebdb2150f481911965fda93516526b4e160..1bbb87e2abd71685faf28a0e05faaf68c0d24b4a 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]