Differential D17058 Diff 41038 src/applications/differential/field/DifferentialSubscribersCommitMessageField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/field/DifferentialSubscribersCommitMessageField.php
- This file was added.
| <?php | |||||
| final class DifferentialSubscribersCommitMessageField | |||||
| extends DifferentialCommitMessageField { | |||||
| const FIELDKEY = 'ccPHIDs'; | |||||
| public function getFieldName() { | |||||
| return pht('Subscribers'); | |||||
| } | |||||
| public function getFieldAliases() { | |||||
| return array( | |||||
| 'CC', | |||||
| 'CCs', | |||||
| 'Subscriber', | |||||
| ); | |||||
| } | |||||
| public function parseFieldValue($value) { | |||||
| return $this->parseObjectList( | |||||
| $value, | |||||
| array( | |||||
| PhabricatorPeopleUserPHIDType::TYPECONST, | |||||
| PhabricatorProjectProjectPHIDType::TYPECONST, | |||||
| PhabricatorOwnersPackagePHIDType::TYPECONST, | |||||
| )); | |||||
| } | |||||
| } | |||||