setViewer($viewer) ->setAllowedTypes( array( PhabricatorPeopleUserPHIDType::TYPECONST, PhabricatorProjectProjectPHIDType::TYPECONST, )) ->setObjectList(implode(' ', $argv)) ->setAllowPartialResults(true) ->execute(); $xactions = array(); $xactions[] = $object->getApplicationTransactionTemplate() ->setTransactionType(PhabricatorTransactions::TYPE_SUBSCRIBERS) ->setNewValue( array( '+' => array_fuse($subscriber_phids), )); return $xactions; } }