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; }