@@ -72,6 +72,9 @@ discard block |
||
72 | 72 | return $contextPath; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param string $contextPath |
|
77 | + */ |
|
75 | 78 | protected function writeContextFileXml($contextPath) |
76 | 79 | { |
77 | 80 | file_put_contents($contextPath, <<<XML |
@@ -111,6 +114,9 @@ discard block |
||
111 | 114 | } |
112 | 115 | |
113 | 116 | |
117 | + /** |
|
118 | + * @param string $contextPath |
|
119 | + */ |
|
114 | 120 | protected function askContextFileQuestion(InputInterface $input, OutputInterface $output, $contextPath) |
115 | 121 | { |
116 | 122 | $question = new ConfirmationQuestion(sprintf('The context file %s does not exist next to the magium-configuration.xml file. Create it? ', $contextPath)); |
@@ -5,6 +5,9 @@ |
||
5 | 5 | trait XmlFileToXmlTrait |
6 | 6 | { |
7 | 7 | |
8 | + /** |
|
9 | + * @return string |
|
10 | + */ |
|
8 | 11 | abstract function getFile(); |
9 | 12 | |
10 | 13 | abstract function validateSchema(\DOMDocument $doc); |