| 1 | <?php |
||
| 10 | class PublishIp extends SaveEnvVariable |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The name and signature of the console command. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $signature = 'publish:ip {ip?}'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The console command description. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $description = 'Save acacha forge ip'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Env var to set. |
||
| 28 | * |
||
| 29 | * @return mixed |
||
| 30 | */ |
||
| 31 | protected function envVar() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Argument key. |
||
| 38 | * |
||
| 39 | * @return mixed |
||
| 40 | */ |
||
| 41 | protected function argKey() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Question text. |
||
| 48 | * |
||
| 49 | * @return mixed |
||
| 50 | */ |
||
| 51 | protected function questionText() |
||
| 55 | } |
||
| 56 |