Differential D13200 Diff 31965 src/applications/releeph/field/specification/ReleephOriginalCommitFieldSpecification.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/field/specification/ReleephOriginalCommitFieldSpecification.php
| <?php | <?php | ||||
| final class ReleephOriginalCommitFieldSpecification | final class ReleephOriginalCommitFieldSpecification | ||||
| extends ReleephFieldSpecification { | extends ReleephFieldSpecification { | ||||
| public function getFieldKey() { | public function getFieldKey() { | ||||
| return 'commit:name'; | return 'commit:name'; | ||||
| } | } | ||||
| public function getName() { | public function getName() { | ||||
| return 'Commit'; | return pht('Commit'); | ||||
| } | } | ||||
| public function getRequiredHandlePHIDsForPropertyView() { | public function getRequiredHandlePHIDsForPropertyView() { | ||||
| return array( | return array( | ||||
| $this->getReleephRequest()->getRequestCommitPHID(), | $this->getReleephRequest()->getRequestCommitPHID(), | ||||
| ); | ); | ||||
| } | } | ||||
| public function renderPropertyViewValue(array $handles) { | public function renderPropertyViewValue(array $handles) { | ||||
| return $this->renderHandleList($handles); | return $this->renderHandleList($handles); | ||||
| } | } | ||||
| } | } | ||||