Changeset View
Changeset View
Standalone View
Standalone View
src/toolset/ArcanistWorkflowInformation.php
<?php | <?php | ||||
final class ArcanistWorkflowInformation | final class ArcanistWorkflowInformation | ||||
extends Phobject { | extends Phobject { | ||||
private $help; | private $help; | ||||
private $synopsis; | |||||
private $examples = array(); | private $examples = array(); | ||||
public function setHelp($help) { | public function setHelp($help) { | ||||
$this->help = $help; | $this->help = $help; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getHelp() { | public function getHelp() { | ||||
return $this->help; | return $this->help; | ||||
} | } | ||||
public function addExample($example) { | public function addExample($example) { | ||||
$this->examples[] = $example; | $this->examples[] = $example; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getExamples() { | public function getExamples() { | ||||
return $this->examples; | return $this->examples; | ||||
} | } | ||||
public function setSynopsis($synopsis) { | |||||
$this->synopsis = $synopsis; | |||||
return $this; | |||||
} | |||||
public function getSynopsis() { | |||||
return $this->synopsis; | |||||
} | |||||
} | } |