| Total Complexity | 9 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class NginxController extends \hidev\base\Controller |
||
| 17 | { |
||
| 18 | public $defaultAction = 'dump'; |
||
| 19 | |||
| 20 | public function actionDump() |
||
| 21 | { |
||
| 22 | return $this->getComponent()->dump(); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function actionDeploy() |
||
| 26 | { |
||
| 27 | return $this->getComponent()->deploy(); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function actionLetsencrypt() |
||
| 31 | { |
||
| 32 | return $this->getComponent()->letsencrypt(); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function actionStart() |
||
| 36 | { |
||
| 37 | return $this->getComponent()->start(); |
||
| 38 | } |
||
| 39 | |||
| 40 | public function actionStop() |
||
| 41 | { |
||
| 42 | return $this->getComponent()->stop(); |
||
| 43 | } |
||
| 44 | |||
| 45 | public function actionReload() |
||
| 48 | } |
||
| 49 | |||
| 50 | public function actionRestart() |
||
| 51 | { |
||
| 52 | return $this->getComponent()->restart(); |
||
| 53 | } |
||
| 54 | |||
| 55 | public function actionStatus() |
||
| 58 | } |
||
| 59 | |||
| 60 | public function getComponent() |
||
| 63 | } |
||
| 64 | } |
||
| 65 |