1 | <?php namespace Limoncello\Application\Commands; |
||
22 | class TemplateOutput |
||
23 | { |
||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $outputRootFolder; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | private $outputSubFolder; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | private $outputFileName; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | private $outputContent; |
||
43 | |||
44 | /** |
||
45 | * @var string|null |
||
46 | */ |
||
47 | private $outputFolder = null; |
||
48 | |||
49 | /** |
||
50 | * @var string|null |
||
51 | */ |
||
52 | private $outputPath = null; |
||
53 | |||
54 | /** |
||
55 | * @param string $outputRootFolder |
||
56 | * @param string $outputFileName |
||
57 | * @param string $outputContent |
||
58 | * @param string $outputSubFolder |
||
59 | */ |
||
60 | 7 | public function __construct( |
|
72 | |||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | 7 | public function getOutputRootFolder(): string |
|
81 | |||
82 | /** |
||
83 | * @param string $outputRootFolder |
||
84 | * |
||
85 | * @return self |
||
86 | */ |
||
87 | 7 | public function setOutputRootFolder(string $outputRootFolder): self |
|
97 | |||
98 | /** |
||
99 | * @return string |
||
100 | */ |
||
101 | 7 | public function getOutputSubFolder(): string |
|
105 | |||
106 | /** |
||
107 | * @param string $outputSubFolder |
||
108 | * |
||
109 | * @return self |
||
110 | */ |
||
111 | 7 | public function setOutputSubFolder(string $outputSubFolder): self |
|
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | 7 | public function getOutputFileName(): string |
|
127 | |||
128 | /** |
||
129 | * @param string $outputFileName |
||
130 | * |
||
131 | * @return self |
||
132 | */ |
||
133 | 7 | public function setOutputFileName(string $outputFileName): self |
|
143 | |||
144 | /** |
||
145 | * @return string |
||
146 | */ |
||
147 | 4 | public function getOutputContent(): string |
|
151 | |||
152 | /** |
||
153 | * @param string $outputContent |
||
154 | * |
||
155 | * @return self |
||
156 | */ |
||
157 | 7 | public function setOutputContent(string $outputContent): self |
|
163 | |||
164 | /** |
||
165 | * @return string |
||
166 | */ |
||
167 | 7 | public function getOutputFolder(): string |
|
184 | |||
185 | /** |
||
186 | * @return string |
||
187 | */ |
||
188 | 7 | public function getOutputPath(): string |
|
201 | |||
202 | /** |
||
203 | * @return void |
||
204 | */ |
||
205 | 7 | private function reset(): void |
|
210 | } |
||
211 |