// Set the request instance
$nodeInstance->setRequestInstance($requestInstance);
+ // --------------------- Hub-id acquirement phase ---------------------
+ // Acquire a hub-id. This step generates on first launch a new one and
+ // on any later launches it will restore the hub-id from the database.
+ // A passed 'nickname=xxx' argument will be used to add some
+ // 'personality' to the hub.
+ $nodeInstance->acquireHubId();
+
// Return the instance
return $nodeInstance;
}
* @todo Implement this method
*/
public function doBootstrapping () {
- // Call generic (parent) bootstrapping method
+ // Call generic (parent) bootstrapping method first
parent::doGenericBootstrapping();
- $this->partialStub("Please implement this method.");
+ $this->partialStub('Please implement this method.');
+
+ // This should be the last line: output teaser
+ $this->outputConsoleTeaser();
}
}