We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e8f0c commit 07da8d5Copy full SHA for 07da8d5
src/Templating/CodeModel.php
@@ -0,0 +1,32 @@
1
+<?php
2
+
3
+/**
4
+ * @author Mohammed Moussaoui
5
+ * @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6
+ * @license MIT License. For full license information see LICENSE file in the project root.
7
+ * @link https://github.com/DevNet-Framework
8
+ */
9
10
+namespace DevNet\Cli\Templating;
11
12
+class CodeModel
13
+{
14
+ protected string $fileName;
15
+ protected string $content;
16
17
+ public function __construct(string $fileName, string $content)
18
+ {
19
+ $this->fileName = $fileName;
20
+ $this->content = $content;
21
+ }
22
23
+ public function getFileName(): string
24
25
+ return $this->fileName;
26
27
28
+ public function getContent(): string
29
30
+ return $this->content;
31
32
+}
0 commit comments