Differential D13200 Diff 31965 src/applications/releeph/field/specification/ReleephBranchCommitFieldSpecification.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/field/specification/ReleephBranchCommitFieldSpecification.php
| <?php | <?php | ||||
| final class ReleephBranchCommitFieldSpecification | final class ReleephBranchCommitFieldSpecification | ||||
| extends ReleephFieldSpecification { | extends ReleephFieldSpecification { | ||||
| public function getFieldKey() { | public function getFieldKey() { | ||||
| return 'commit'; | return 'commit'; | ||||
| } | } | ||||
| public function getName() { | public function getName() { | ||||
| return 'Commit'; | return pht('Commit'); | ||||
| } | } | ||||
| public function getRequiredHandlePHIDsForPropertyView() { | public function getRequiredHandlePHIDsForPropertyView() { | ||||
| $pull = $this->getReleephRequest(); | $pull = $this->getReleephRequest(); | ||||
| if ($pull->getCommitPHID()) { | if ($pull->getCommitPHID()) { | ||||
| return array($pull->getCommitPHID()); | return array($pull->getCommitPHID()); | ||||
| } | } | ||||
| Show All 9 Lines | |||||