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 PhabricatorAphlictManagementRestartWorkflow extends PhabricatorAphlic..

Decoded Output download

<?php

final class PhabricatorAphlictManagementRestartWorkflow
  extends PhabricatorAphlictManagementWorkflow {

  protected function didConstruct() {
    $this
      ->setName('restart')
      ->setSynopsis(pht('Stop, then start the notification server.'))
      ->setArguments($this->getLaunchArguments());
  }

  public function execute(PhutilArgumentParser $args) {
    $this->parseLaunchArguments($args);

    $err = $this->executeStopCommand();
    if ($err) {
      return $err;
    }

    return $this->executeStartCommand();
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorAphlictManagementRestartWorkflow
  extends PhabricatorAphlictManagementWorkflow {

  protected function didConstruct() {
    $this
      ->setName('restart')
      ->setSynopsis(pht('Stop, then start the notification server.'))
      ->setArguments($this->getLaunchArguments());
  }

  public function execute(PhutilArgumentParser $args) {
    $this->parseLaunchArguments($args);

    $err = $this->executeStopCommand();
    if ($err) {
      return $err;
    }

    return $this->executeStartCommand();
  }

}

Function Calls

None

Variables

None

Stats

MD5 a4dc5f464fb5f7a027b6f08244ad94a3
Eval Count 0
Decode Time 101 ms