Remove product literal strings in "pht()", part 8
[phabricator.git] / src / applications / aphlict / management / PhabricatorAphlictManagementRestartWorkflow.php
blob787003e382197c70a61f2c5bb48092022f934b24
1 <?php
3 final class PhabricatorAphlictManagementRestartWorkflow
4 extends PhabricatorAphlictManagementWorkflow {
6 protected function didConstruct() {
7 $this
8 ->setName('restart')
9 ->setSynopsis(pht('Stop, then start the notification server.'))
10 ->setArguments($this->getLaunchArguments());
13 public function execute(PhutilArgumentParser $args) {
14 $this->parseLaunchArguments($args);
16 $err = $this->executeStopCommand();
17 if ($err) {
18 return $err;
21 return $this->executeStartCommand();