Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93856179
NuanceWorker.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Dec 2, 01:24
Size
533 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 01:24 (2 d)
Engine
blob
Format
Raw Data
Handle
22715055
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment