Changeset View
Changeset View
Standalone View
Standalone View
src/parser/argument/workflow/PhutilArgumentWorkflow.php
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
| * echo array_product($nums)."\n"; | * echo array_product($nums)."\n"; | ||||
| * break; | * break; | ||||
| * } | * } | ||||
| * | * | ||||
| * You can also subclass this class and return `true` from | * You can also subclass this class and return `true` from | ||||
| * @{method:isExecutable}. In this case, the parser will automatically select | * @{method:isExecutable}. In this case, the parser will automatically select | ||||
| * your workflow when the user invokes it. | * your workflow when the user invokes it. | ||||
| * | * | ||||
| * @stable | |||||
| * @concrete-extensible | * @concrete-extensible | ||||
| */ | */ | ||||
| class PhutilArgumentWorkflow { | class PhutilArgumentWorkflow extends Phobject { | ||||
| private $name; | private $name; | ||||
| private $synopsis; | private $synopsis; | ||||
| private $specs = array(); | private $specs = array(); | ||||
| private $examples; | private $examples; | ||||
| private $help; | private $help; | ||||
| final public function __construct() { | final public function __construct() { | ||||
| ▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines | |||||