3 abstract class NuanceWorker
extends PhabricatorWorker
{
5 protected function getViewer() {
6 return PhabricatorUser
::getOmnipotentUser();
9 protected function loadItem($item_phid) {
10 $item = id(new NuanceItemQuery())
11 ->setViewer($this->getViewer())
12 ->withPHIDs(array($item_phid))
16 throw new PhabricatorWorkerPermanentFailureException(
18 'There is no Nuance item with PHID "%s".',