@@ -61,6 +61,9 @@ discard block |
||
61 | 61 | return $this->passthru('service', ['nginx', 'restart', Sudo::create()]); |
62 | 62 | } |
63 | 63 | |
64 | + /** |
|
65 | + * @param string $path |
|
66 | + */ |
|
64 | 67 | public static function mkdir($path) |
65 | 68 | { |
66 | 69 | if (file_exists($path)) { |
@@ -106,6 +109,9 @@ discard block |
||
106 | 109 | $this->_etcDir = $value; |
107 | 110 | } |
108 | 111 | |
112 | + /** |
|
113 | + * @return string |
|
114 | + */ |
|
109 | 115 | public function getEtcDir() |
110 | 116 | { |
111 | 117 | if ($this->_etcDir === null) { |