@@ -81,6 +81,9 @@ discard block |
||
| 81 | 81 | return $this->run('status', false); |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | + /** |
|
| 85 | + * @param string $operation |
|
| 86 | + */ |
|
| 84 | 87 | public function run($operation, $sudo = true) |
| 85 | 88 | { |
| 86 | 89 | $args = ['nginx', $operation]; |
@@ -162,6 +165,9 @@ discard block |
||
| 162 | 165 | $this->_etcDir = $value; |
| 163 | 166 | } |
| 164 | 167 | |
| 168 | + /** |
|
| 169 | + * @return string |
|
| 170 | + */ |
|
| 165 | 171 | public function getEtcDir() |
| 166 | 172 | { |
| 167 | 173 | if ($this->_etcDir === null) { |