Differential D13200 Diff 31965 src/applications/releeph/field/specification/ReleephIntentFieldSpecification.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/field/specification/ReleephIntentFieldSpecification.php
| <?php | <?php | ||||
| final class ReleephIntentFieldSpecification | final class ReleephIntentFieldSpecification | ||||
| extends ReleephFieldSpecification { | extends ReleephFieldSpecification { | ||||
| public function getFieldKey() { | public function getFieldKey() { | ||||
| return 'intent'; | return 'intent'; | ||||
| } | } | ||||
| public function getName() { | public function getName() { | ||||
| return 'Intent'; | return pht('Intent'); | ||||
| } | } | ||||
| public function getRequiredHandlePHIDsForPropertyView() { | public function getRequiredHandlePHIDsForPropertyView() { | ||||
| $pull = $this->getReleephRequest(); | $pull = $this->getReleephRequest(); | ||||
| $intents = $pull->getUserIntents(); | $intents = $pull->getUserIntents(); | ||||
| return array_keys($intents); | return array_keys($intents); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines | |||||