[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/aphlict/management/ -> PhabricatorAphlictManagementRestartWorkflow.php (source)

   1  <?php
   2  
   3  final class PhabricatorAphlictManagementRestartWorkflow
   4    extends PhabricatorAphlictManagementWorkflow {
   5  
   6    public function didConstruct() {
   7      $this
   8        ->setName('restart')
   9        ->setSynopsis(pht('Stop, then start the notifications server.'))
  10        ->setArguments(array());
  11    }
  12  
  13    public function execute(PhutilArgumentParser $args) {
  14      $err = $this->executeStopCommand();
  15      if ($err) {
  16        return $err;
  17      }
  18      return $this->executeStartCommand();
  19    }
  20  
  21  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1