Signed-off-by: Roland Häder <roland@mxchange.org>
<?php
// Own namespace
-namespace Hub\Node\Dht;
+namespace Hub\Dht\Node;
// Import hub-specific stuff
use Hub\Generic\BaseHubSystem;
}
// Now convert the node-mode in a class name
- $className = 'Hub' . $factoryInstance->convertToClassName($nodeMode) . 'Node';
+ $className = sprintf(
+ 'Hub\Node\%s\Hub%sNode',
+ $factoryInstance->convertToClassName($nodeMode),
+ $factoryInstance->convertToClassName($nodeMode)
+ );
// Get the node instance
$nodeInstance = ObjectFactory::createObjectByName($className, array($requestInstance));