]> git.mxchange.org Git - hub.git/blobdiff - application/hub/classes/filter/bootstrap/node/class_NodeBootstrap
Use factory instead of direct registry key.
[hub.git] / application / hub / classes / filter / bootstrap / node / class_NodeBootstrap
index 5371b8ae75a07a0cf57180648dfd8c15446c095c..d0963daf04102ecd454e552ebb611c7b75b9b7c1 100644 (file)
@@ -55,7 +55,7 @@ class NodeBootstrap???Filter extends BaseNodeFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get node instance
-               $nodeInstance = Registry::getRegistry()->getInstance('node');
+               $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
 
                // Now do something
                $this->partialStub('Please implement this step.');