Page MenuHomePhorge

NuanceManagementUpdateWorkflow.php
No OneTemporary

NuanceManagementUpdateWorkflow.php

<?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

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)

Event Timeline