Differential D7511 Diff 16936 src/applications/harbormaster/storage/configuration/HarbormasterBuildStep.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/storage/configuration/HarbormasterBuildStep.php
Show All 35 Lines | public function getDetail($key, $default = null) { | ||||
return idx($this->details, $key, $default); | return idx($this->details, $key, $default); | ||||
} | } | ||||
public function setDetail($key, $value) { | public function setDetail($key, $value) { | ||||
$this->details[$key] = $value; | $this->details[$key] = $value; | ||||
return $this; | return $this; | ||||
} | } | ||||
/** | |||||
* @phutil-external-symbol class BuildStepImplementation | |||||
*/ | |||||
public function getStepImplementation() { | public function getStepImplementation() { | ||||
if ($this->className === null) { | if ($this->className === null) { | ||||
throw new Exception("No implementation set for the given step."); | throw new Exception("No implementation set for the given step."); | ||||
} | } | ||||
static $implementations = null; | static $implementations = null; | ||||
if ($implementations === null) { | if ($implementations === null) { | ||||
$implementations = BuildStepImplementation::getImplementations(); | $implementations = BuildStepImplementation::getImplementations(); | ||||
Show All 34 Lines |