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 DoorkeeperBridgedObjectCurtainExtension extends PHUICurtainExtension ..

Decoded Output download

<?php

final class DoorkeeperBridgedObjectCurtainExtension
  extends PHUICurtainExtension {

  const EXTENSIONKEY = 'doorkeeper.bridged-object';

  public function shouldEnableForObject($object) {
    return ($object instanceof DoorkeeperBridgedObjectInterface);
  }

  public function getExtensionApplication() {
    return new PhabricatorDoorkeeperApplication();
  }

  public function buildCurtainPanel($object) {
    $xobj = $object->getBridgedObject();
    if (!$xobj) {
      return null;
    }

    $tag = id(new DoorkeeperTagView())
      ->setExternalObject($xobj);

    return $this->newPanel()
      ->setHeaderText(pht('Imported From'))
      ->setOrder(5000)
      ->appendChild($tag);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DoorkeeperBridgedObjectCurtainExtension
  extends PHUICurtainExtension {

  const EXTENSIONKEY = 'doorkeeper.bridged-object';

  public function shouldEnableForObject($object) {
    return ($object instanceof DoorkeeperBridgedObjectInterface);
  }

  public function getExtensionApplication() {
    return new PhabricatorDoorkeeperApplication();
  }

  public function buildCurtainPanel($object) {
    $xobj = $object->getBridgedObject();
    if (!$xobj) {
      return null;
    }

    $tag = id(new DoorkeeperTagView())
      ->setExternalObject($xobj);

    return $this->newPanel()
      ->setHeaderText(pht('Imported From'))
      ->setOrder(5000)
      ->appendChild($tag);
  }

}

Function Calls

None

Variables

None

Stats

MD5 d159cd7a8c02afbd58b1c519e33fedf0
Eval Count 0
Decode Time 97 ms