*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
/**
* Creates an instance of this hub-node class
*
- * @return $nodeInstance An instance of this hub-node class
+ * @param $requestInstance An instance of a Requestable class
+ * @return $nodeInstance An instance of this hub-node class
*/
- public final static function createHubRegularNode () {
+ public final static function createHubRegularNode (Requestable $requestInstance) {
// Get a new instance
$nodeInstance = new HubRegularNode();
+ // Set the request instance
+ $nodeInstance->setRequestInstance($requestInstance);
+
// Return the instance
return $nodeInstance;
}
* @return void
*/
public function doBootstrapping (Requestable $requestInstance) {
- $this->partialStub();
+ // Call generic (parent) bootstrapping method
+ parent::doGenericBootstrapping();
+ $this->partialStub("Please implement this method.");
}
}