]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/bootstrap/class_HubBootstrapAquireHubIdFilter.php
Bootstrap filters filled with some content (basicly...)
[hub.git] / application / hub / main / filter / bootstrap / class_HubBootstrapAquireHubIdFilter.php
index e8147d77e9cbdd5f45a121ebe1e3e03365c293ee..7d3fed1bb8fc1d9fa6a13da66794fb4d92e2b293 100644 (file)
@@ -63,8 +63,12 @@ class HubBootstrapAquireHubIdFilter extends BaseFilter implements Filterable {
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
                } // END - if
 
-               // Implement this!
-               $this->partialStub('Please implement this method.');
+               // --------------------- 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->bootstrapAcquireHubId();
        }
 }