Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php final class NuanceManagementUpdateWorkflow extends NuanceManagementWorkflow { ..

Decoded Output download

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

}
 ?>

Did this file decode correctly?

Original Code

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

}

Function Calls

None

Variables

None

Stats

MD5 5cefbc2a3a92d12c52665421f0acacc0
Eval Count 0
Decode Time 89 ms