From: Roland Häder Date: Fri, 21 Aug 2009 14:33:59 +0000 (+0000) Subject: Tasks are now visited X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=73f16b4fa7b64984d2730f03890e73f25175a0f2;p=hub.git Tasks are now visited --- diff --git a/application/hub/main/tasks/class_ b/application/hub/main/tasks/class_ index bc53b4f41..b0b42b375 100644 --- a/application/hub/main/tasks/class_ +++ b/application/hub/main/tasks/class_ @@ -53,7 +53,8 @@ class ???Task extends BaseTask implements Taskable, Visitable { * @todo 0% */ public function accept (Visitor $visitorInstance) { - $this->partialStub('Please implement this method. visitor=' . $visitorInstance->__toString()); + // Visit this task + $visitorInstance->visitTask($this); } /** diff --git a/application/hub/main/tasks/hub/ping/class_HubPingTask.php b/application/hub/main/tasks/hub/ping/class_HubPingTask.php index c0a6ca27f..ba3d37dd2 100644 --- a/application/hub/main/tasks/hub/ping/class_HubPingTask.php +++ b/application/hub/main/tasks/hub/ping/class_HubPingTask.php @@ -63,7 +63,8 @@ class HubPingTask extends BaseTask implements Visitable, Taskable { * @todo 0% */ public function accept (Visitor $visitorInstance) { - $this->partialStub('Please implement this method. visitor='.$visitorInstance->__toString()); + // Visit this task + $visitorInstance->visitTask($this); } /** diff --git a/application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php b/application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php index 87c5604eb..5cc4b9a8b 100644 --- a/application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php +++ b/application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php @@ -53,7 +53,8 @@ class HubUpdateCheckTask extends BaseTask implements Visitable, Taskable { * @todo 0% */ public function accept (Visitor $visitorInstance) { - $this->partialStub('Please implement this method. visitor='.$visitorInstance->__toString()); + // Visit this task + $visitorInstance->visitTask($this); } /**