AppserverIo\Appserver\Core\Api\Node\HostNode::__construct PHP Method

__construct() public method

Initializes the node with the passed data.
public __construct ( string $name = '', string $appBase = 'webapps', string $tmpBase = 'var/tmp', string $deployBase = 'deploy' )
$name string The host name
$appBase string The application base directory
$tmpBase string The temporary base directory
$deployBase string The deployment base directory
    public function __construct($name = '', $appBase = 'webapps', $tmpBase = 'var/tmp', $deployBase = 'deploy')
    {
        $this->name = $name;
        $this->appBase = $appBase;
        $this->tmpBase = $tmpBase;
        $this->deployBase = $deployBase;
    }