Remove product literal strings in "pht()", part 18
[phabricator.git] / src / infrastructure / PhabricatorEditor.php
blobeee718a23ea7902b97bf2ac70510d268a154355b
1 <?php
3 abstract class PhabricatorEditor extends Phobject {
5 private $actor;
6 private $excludeMailRecipientPHIDs = array();
8 final public function setActor(PhabricatorUser $actor) {
9 $this->actor = $actor;
10 return $this;
13 final public function getActor() {
14 return $this->actor;
17 final public function requireActor() {
18 $actor = $this->getActor();
19 if (!$actor) {
20 throw new PhutilInvalidStateException('setActor');
22 return $actor;
25 final public function setExcludeMailRecipientPHIDs($phids) {
26 $this->excludeMailRecipientPHIDs = $phids;
27 return $this;
30 final protected function getExcludeMailRecipientPHIDs() {
31 return $this->excludeMailRecipientPHIDs;