Differential D20379 Diff 48659 src/applications/project/trigger/PhabricatorProjectTriggerManiphestOwnerRule.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/trigger/PhabricatorProjectTriggerManiphestOwnerRule.php
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | final class PhabricatorProjectTriggerManiphestOwnerRule | ||||
protected function getDefaultValue() { | protected function getDefaultValue() { | ||||
return null; | return null; | ||||
} | } | ||||
protected function getPHUIXControlType() { | protected function getPHUIXControlType() { | ||||
return 'tokenizer'; | return 'tokenizer'; | ||||
} | } | ||||
protected function getDatasource() { | private function getDatasource() { | ||||
$datasource = id(new ManiphestAssigneeDatasource()) | $datasource = id(new ManiphestAssigneeDatasource()) | ||||
->setLimit(1); | ->setLimit(1); | ||||
if ($this->getViewer()) { | if ($this->getViewer()) { | ||||
$datasource->setViewer($this->getViewer()); | $datasource->setViewer($this->getViewer()); | ||||
} | } | ||||
return $datasource; | return $datasource; | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |