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 abstract class PhabricatorDaemonController extends PhabricatorController { pub..

Decoded Output download

<?php

abstract class PhabricatorDaemonController
  extends PhabricatorController {

  public function shouldRequireAdmin() {
    return true;
  }

  public function buildApplicationMenu() {
    return $this->buildSideNavView(true)->getMenu();
  }

  protected function buildSideNavView() {
    $nav = new AphrontSideNavFilterView();
    $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));

    $nav->addLabel(pht('Daemons'));
    $nav->addFilter('/', pht('Console'));
    $nav->addFilter('log', pht('All Daemons'));

    $nav->addLabel(pht('Bulk Jobs'));
    $nav->addFilter('bulk', pht('Manage Bulk Jobs'));

    return $nav;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorDaemonController
  extends PhabricatorController {

  public function shouldRequireAdmin() {
    return true;
  }

  public function buildApplicationMenu() {
    return $this->buildSideNavView(true)->getMenu();
  }

  protected function buildSideNavView() {
    $nav = new AphrontSideNavFilterView();
    $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));

    $nav->addLabel(pht('Daemons'));
    $nav->addFilter('/', pht('Console'));
    $nav->addFilter('log', pht('All Daemons'));

    $nav->addLabel(pht('Bulk Jobs'));
    $nav->addFilter('bulk', pht('Manage Bulk Jobs'));

    return $nav;
  }

}

Function Calls

None

Variables

None

Stats

MD5 6a94a280165f70ac363d00687c7ab5e2
Eval Count 0
Decode Time 96 ms