diff --git a/scripts/example/subworkflow.php b/scripts/example/subworkflow.php --- a/scripts/example/subworkflow.php +++ b/scripts/example/subworkflow.php @@ -13,7 +13,7 @@ // This shows how to do manual parsing of raw arguments. -final class PhutilArgumentWorkflowEchoExample extends PhutilArgumentWorkflow { +final class PhutilEchoExampleArgumentWorkflow extends PhutilArgumentWorkflow { public function isExecutable() { return true; @@ -33,7 +33,7 @@ // This shows how to delegate to sub-workflows. -final class PhutilArgumentWorkflowDoExample extends PhutilArgumentWorkflow { +final class PhutilDoExampleArgumentWorkflow extends PhutilArgumentWorkflow { public function isExecutable() { return true; @@ -44,7 +44,7 @@ } public function execute(PhutilArgumentParser $args) { - $echo_workflow = id(new PhutilArgumentWorkflowEchoExample()) + $echo_workflow = id(new PhutilEchoExampleArgumentWorkflow()) ->setName('echo') ->setExamples('**echo** __string__ ...') ->setSynopsis('Echo __string__.'); @@ -59,7 +59,7 @@ } -$do_workflow = id(new PhutilArgumentWorkflowDoExample()) +$do_workflow = id(new PhutilDoExampleArgumentWorkflow()) ->setName('do') ->setExamples('**do** __thing__ ...') ->setSynopsis('Do __thing__.');