public function getNode($name)
    {
        if ($name === 'localhost') {
            $node = new Node('localhost');
            $node->onLocalhost();
            return $node;
        }
        $nodes = $this->getNodes();

        return isset($nodes[$name]) ? $nodes[$name] : null;
    }