From a639958849350c1db6d4562a74ef48182bc75a37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 30 Mar 2009 06:45:21 +0000 Subject: [PATCH] doBootstrapping() rewritten --- application/hub/interfaces/nodes/class_NodeHelper.php | 6 +++--- application/hub/main/nodes/boot/class_HubBootNode.php | 4 ++-- application/hub/main/nodes/class_ | 4 ++-- application/hub/main/nodes/list/class_BootListNode.php | 4 ++-- application/hub/main/nodes/master/class_HubMasterNode.php | 4 ++-- application/hub/main/nodes/regular/class_HubRegularNode.php | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/application/hub/interfaces/nodes/class_NodeHelper.php b/application/hub/interfaces/nodes/class_NodeHelper.php index 140f53a6e..fb7513c2b 100644 --- a/application/hub/interfaces/nodes/class_NodeHelper.php +++ b/application/hub/interfaces/nodes/class_NodeHelper.php @@ -25,12 +25,12 @@ interface NodeHelper extends FrameworkInterface { /** * Method to "bootstrap" the node. This step does also apply provided - * command-line arguments stored in the request instance + * command-line arguments stored in the request instance. You should now + * get it from calling $this->getRequestInstance(). * - * @param $requestInstance An instance of a Requestable class * @return void */ - function doBootstrapping (Requestable $requestInstance); + function doBootstrapping (); } // diff --git a/application/hub/main/nodes/boot/class_HubBootNode.php b/application/hub/main/nodes/boot/class_HubBootNode.php index e24aec2a5..b5bd06069 100644 --- a/application/hub/main/nodes/boot/class_HubBootNode.php +++ b/application/hub/main/nodes/boot/class_HubBootNode.php @@ -54,10 +54,10 @@ class HubBootNode extends BaseHubNode implements NodeHelper { * command-line arguments stored in the request instance. The regular node * should communicate with the bootstrap-nodes at this point. * - * @param $requestInstance An instance of a Requestable class * @return void + * @todo Implement this method */ - public function doBootstrapping (Requestable $requestInstance) { + public function doBootstrapping () { // Call generic (parent) bootstrapping method parent::doGenericBootstrapping(); $this->partialStub("Please implement this method."); diff --git a/application/hub/main/nodes/class_ b/application/hub/main/nodes/class_ index 17cb01b59..c357328a7 100644 --- a/application/hub/main/nodes/class_ +++ b/application/hub/main/nodes/class_ @@ -54,10 +54,10 @@ class Hub???Node extends BaseHubNode implements NodeHelper { * command-line arguments stored in the request instance. The regular node * should communicate with the bootstrap-nodes at this point. * - * @param $requestInstance An instance of a Requestable class * @return void + * @todo Implement this method */ - public function doBootstrapping (Requestable $requestInstance) { + public function doBootstrapping () { // Call generic (parent) bootstrapping method parent::doGenericBootstrapping(); $this->partialStub("Please implement this method."); diff --git a/application/hub/main/nodes/list/class_BootListNode.php b/application/hub/main/nodes/list/class_BootListNode.php index 86987565d..d0addef0d 100644 --- a/application/hub/main/nodes/list/class_BootListNode.php +++ b/application/hub/main/nodes/list/class_BootListNode.php @@ -54,10 +54,10 @@ class HubListNode extends BaseHubNode implements NodeHelper { * command-line arguments stored in the request instance. The regular node * should communicate with the bootstrap-nodes at this point. * - * @param $requestInstance An instance of a Requestable class * @return void + * @todo Implement this method */ - public function doBootstrapping (Requestable $requestInstance) { + public function doBootstrapping () { // Call generic (parent) bootstrapping method parent::doGenericBootstrapping(); $this->partialStub("Please implement this method."); diff --git a/application/hub/main/nodes/master/class_HubMasterNode.php b/application/hub/main/nodes/master/class_HubMasterNode.php index e2e2a1f2f..9f41a0311 100644 --- a/application/hub/main/nodes/master/class_HubMasterNode.php +++ b/application/hub/main/nodes/master/class_HubMasterNode.php @@ -54,10 +54,10 @@ class HubMasterNode extends BaseHubNode implements NodeHelper { * command-line arguments stored in the request instance. The regular node * should communicate with the bootstrap-nodes at this point. * - * @param $requestInstance An instance of a Requestable class * @return void + * @todo Implement this method */ - public function doBootstrapping (Requestable $requestInstance) { + public function doBootstrapping () { // Call generic (parent) bootstrapping method parent::doGenericBootstrapping(); $this->partialStub("Please implement this method."); diff --git a/application/hub/main/nodes/regular/class_HubRegularNode.php b/application/hub/main/nodes/regular/class_HubRegularNode.php index dd9105121..fd3dbab98 100644 --- a/application/hub/main/nodes/regular/class_HubRegularNode.php +++ b/application/hub/main/nodes/regular/class_HubRegularNode.php @@ -54,10 +54,10 @@ class HubRegularNode extends BaseHubNode implements NodeHelper { * command-line arguments stored in the request instance. The regular node * should communicate with the bootstrap-nodes at this point. * - * @param $requestInstance An instance of a Requestable class * @return void + * @todo Implement this method */ - public function doBootstrapping (Requestable $requestInstance) { + public function doBootstrapping () { // Call generic (parent) bootstrapping method parent::doGenericBootstrapping(); $this->partialStub("Please implement this method."); -- 2.39.5