Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F549809
NuanceWorker.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
533 B
Referenced Files
None
Subscribers
None
NuanceWorker.php
View Options
<?php
abstract
class
NuanceWorker
extends
PhabricatorWorker
{
protected
function
getViewer
()
{
return
PhabricatorUser
::
getOmnipotentUser
();
}
protected
function
loadItem
(
$item_phid
)
{
$item
=
id
(
new
NuanceItemQuery
())
->
setViewer
(
$this
->
getViewer
())
->
withPHIDs
(
array
(
$item_phid
))
->
executeOne
();
if
(!
$item
)
{
throw
new
PhabricatorWorkerPermanentFailureException
(
pht
(
'There is no Nuance item with PHID "%s".'
,
$item_phid
));
}
return
$item
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 2:19 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122155
Default Alt Text
NuanceWorker.php (533 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment