diff options
Diffstat (limited to 'src/view/AbstractBuilder.php')
-rw-r--r-- | src/view/AbstractBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/AbstractBuilder.php b/src/view/AbstractBuilder.php index ab5e389..0748df0 100644 --- a/src/view/AbstractBuilder.php +++ b/src/view/AbstractBuilder.php | |||
@@ -7,7 +7,7 @@ use App\Entity\Node; | |||
7 | 7 | ||
8 | abstract class AbstractBuilder | 8 | abstract class AbstractBuilder |
9 | { | 9 | { |
10 | protected const string VIEWS_PATH = '../src/view/templates/'; | 10 | public const string VIEWS_PATH = '../src/view/templates/'; |
11 | protected string $html = ''; | 11 | protected string $html = ''; |
12 | protected int $id_node; | 12 | protected int $id_node; |
13 | 13 | ||
@@ -44,7 +44,7 @@ abstract class AbstractBuilder | |||
44 | } | 44 | } |
45 | } | 45 | } |
46 | 46 | ||
47 | protected function snakeToPascalCase(string $input): string | 47 | private function snakeToPascalCase(string $input): string |
48 | { | 48 | { |
49 | return str_replace('_', '', ucwords($input, '_')); | 49 | return str_replace('_', '', ucwords($input, '_')); |
50 | } | 50 | } |