Differential D15698 Diff 37842 src/applications/aphlict/management/PhabricatorAphlictManagementDebugWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/aphlict/management/PhabricatorAphlictManagementDebugWorkflow.php
<?php | <?php | ||||
final class PhabricatorAphlictManagementDebugWorkflow | final class PhabricatorAphlictManagementDebugWorkflow | ||||
extends PhabricatorAphlictManagementWorkflow { | extends PhabricatorAphlictManagementWorkflow { | ||||
protected function didConstruct() { | protected function didConstruct() { | ||||
parent::didConstruct(); | |||||
$this | $this | ||||
->setName('debug') | ->setName('debug') | ||||
->setSynopsis( | ->setSynopsis( | ||||
pht( | pht( | ||||
'Start the notifications server in the foreground and print large '. | 'Start the notifications server in the foreground and print large '. | ||||
'volumes of diagnostic information to the console.')); | 'volumes of diagnostic information to the console.')) | ||||
->setArguments($this->getLaunchArguments()); | |||||
} | } | ||||
public function execute(PhutilArgumentParser $args) { | public function execute(PhutilArgumentParser $args) { | ||||
parent::execute($args); | $this->parseLaunchArguments($args); | ||||
$this->setDebug(true); | $this->setDebug(true); | ||||
$this->willLaunch(); | $this->willLaunch(); | ||||
return $this->launch(); | return $this->launch(); | ||||
} | } | ||||
} | } |