3 final class PhabricatorSearchSubscribersField
4 extends PhabricatorSearchTokenizerField
{
6 protected function getDefaultValue() {
10 protected function getValueFromRequest(AphrontRequest
$request, $key) {
12 PhabricatorProjectProjectPHIDType
::TYPECONST
,
13 PhabricatorOwnersPackagePHIDType
::TYPECONST
,
15 return $this->getUsersFromRequest($request, $key, $allow_types);
18 protected function newDatasource() {
19 return new PhabricatorMetaMTAMailableFunctionDatasource();
22 protected function newConduitParameterType() {
23 // TODO: Ideally, this should eventually be a "Subscribers" type which
24 // accepts projects as well.
25 return new ConduitUserListParameterType();