summaryrefslogtreecommitdiff
path: root/src/model/entities/Page.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/entities/Page.php')
-rw-r--r--src/model/entities/Page.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/model/entities/Page.php b/src/model/entities/Page.php
index 9564342..1ad9ddb 100644
--- a/src/model/entities/Page.php
+++ b/src/model/entities/Page.php
@@ -71,6 +71,10 @@ class Page
71 { 71 {
72 return $this->name_page; 72 return $this->name_page;
73 } 73 }
74 public function setPageName(string $name): void
75 {
76 $this->name_page = $name;
77 }
74 public function getPagePath(): string 78 public function getPagePath(): string
75 { 79 {
76 return $this->page_path; 80 return $this->page_path;
@@ -83,6 +87,10 @@ class Page
83 { 87 {
84 return $this->end_of_path; 88 return $this->end_of_path;
85 } 89 }
90 public function setEndOfPath(string $end_of_path):void
91 {
92 $this->end_of_path = $end_of_path;
93 }
86 public function isReachable(): bool 94 public function isReachable(): bool
87 { 95 {
88 return $this->reachable; 96 return $this->reachable;