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

__construct() public method

Default constructor
public __construct ( string $name = '', string $webappPath = '' )
$name string Name of the webapp
$webappPath string Path to the webapp
    public function __construct($name = '', $webappPath = '')
    {
        // initialize the UUID and node name
        $this->setUuid($this->newUuid());
        $this->setNodeName(self::NODE_NAME);
        // set the data
        $this->name = $name;
        $this->webappPath = $webappPath;
    }