X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Ftasks%2Fclass_Taskable.php;h=b1915b9270291f801a53478ba6ab4f1202db79b1;hp=9ec1a71179299466943aacfb6e91282a0b705eb7;hb=df1b3a826bc67c252efaaac93cb8e78b2cb29603;hpb=9aeecff34797942ce8d4ce03a2dc966dc1dbf702 diff --git a/inc/classes/interfaces/tasks/class_Taskable.php b/inc/classes/interfaces/tasks/class_Taskable.php index 9ec1a711..b1915b92 100644 --- a/inc/classes/interfaces/tasks/class_Taskable.php +++ b/inc/classes/interfaces/tasks/class_Taskable.php @@ -22,12 +22,27 @@ * along with this program. If not, see . */ interface Taskable extends FrameworkInterface { + /** + * Accepts the visitor to process the visitor + * + * @param $visitorInstance An instance of a Visitor class + * @return void + */ + function accept (Visitor $visitorInstance); + /** * Executes the task * * @return void */ function executeTask (); + + /** + * Shuts down the task + * + * @return void + */ + function doShutdown (); } // [EOF]