public function getServerNodeConfiguration(ServerNodeInterface $serverNode)
    {

        // query whether a server signature (software) has been configured
        if ($serverNode->getParam('software') == null) {
            $serverNode->setParam('software', ParamNode::TYPE_STRING, $this->getService()->getServerSignature());
        }

        // add the server node configuration
        return new ServerNodeConfiguration($serverNode);
    }
public function getServerNodeConfiguration(ServerNodeInterface $serverNode)
    {

        // query whether a server signature (software) has been configured
        if ($serverNode->getParam('software') == null) {
            $serverNode->setParam('software', ParamNode::TYPE_STRING, $this->getService()->getServerSignature());
        }

        // add the server node configuration
        return new ServerNodeConfiguration($serverNode);
    }
public function getServerNodeConfiguration ( ServerNodeInterface $ serverNode ) { // query whether a server signature (software) has been configured if ( $ serverNode -> getParam ( 'software' ) == null ) { $ serverNode -> setParam ( 'software' , ParamNode :: TYPE_STRING , $ this -> getService ( ) -> getServerSignature ( ) ) ; } // add the server node configuration return new ServerNodeConfiguration ( $ serverNode ) ; }
Return's the prepared server node configuration.

@param \AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $serverNode The server node

@return \AppserverIo\Appserver\Core\ServerNodeConfiguration The server node configuration
Return s the prepared server node configuration .