Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894406
NuanceManagementUpdateWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
688 B
Referenced Files
None
Subscribers
None
NuanceManagementUpdateWorkflow.php
View Options
<?php
final
class
NuanceManagementUpdateWorkflow
extends
NuanceManagementWorkflow
{
protected
function
didConstruct
(
)
{
$this
->
setName
(
'update'
)
->
setExamples
(
'**update** --item __item__ [__options__]'
)
->
setSynopsis
(
pht
(
'Update or route an item.'
)
)
->
setArguments
(
array
(
array
(
'name'
=>
'item'
,
'param'
=>
'item'
,
'help'
=>
pht
(
'Choose which item to route.'
)
,
)
,
)
)
;
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
$item
=
$this
->
loadItem
(
$args
,
'item'
)
;
PhabricatorWorker
::
setRunAllTasksInProcess
(
true
)
;
$item
->
scheduleUpdate
(
)
;
return
0
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 19:50 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128159
Default Alt Text
NuanceManagementUpdateWorkflow.php (688 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment