You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
293 B

  1. <?php
  2. namespace OSM\Element\Member;
  3. use OSM\Element\Member\Member;
  4. use OSM\Point;
  5. class Node extends Member {
  6. public Point $point;
  7. public function completeFromArray(array $array): static
  8. {
  9. $this->point = Point::createFromArray($array);
  10. return $this;
  11. }
  12. }