summaryrefslogtreecommitdiff
path: root/src/view/AbstractBuilder.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/AbstractBuilder.php')
-rw-r--r--src/view/AbstractBuilder.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/view/AbstractBuilder.php b/src/view/AbstractBuilder.php
index cd2b361..285ebc3 100644
--- a/src/view/AbstractBuilder.php
+++ b/src/view/AbstractBuilder.php
@@ -7,6 +7,12 @@ abstract class AbstractBuilder
7{ 7{
8 protected const VIEWS_PATH = '../src/view/templates/'; 8 protected const VIEWS_PATH = '../src/view/templates/';
9 protected string $html = ''; 9 protected string $html = '';
10 protected int $id_node;
11
12 protected function __construct(Node $node)
13 {
14 $this->id_node = $node->getId();
15 }
10 16
11 protected function useChildrenBuilder(Node $node): void 17 protected function useChildrenBuilder(Node $node): void
12 { 18 {