/** * @return bool */ public function equalsNode(WebforgeNode $other = NULL) { if (!isset($other)) { return FALSE; } if ($this->isNew() || $other->isNew()) { return spl_object_hash($this) === spl_object_hash($other); } return $this->equals($other); }