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 ManiphestTaskAuthorHeraldField extends ManiphestTaskHeraldField { ..

Decoded Output download

<?php

final class ManiphestTaskAuthorHeraldField
  extends ManiphestTaskHeraldField {

  const FIELDCONST = 'maniphest.task.author';

  public function getHeraldFieldName() {
    return pht('Author');
  }

  public function getHeraldFieldValue($object) {
    return $object->getAuthorPHID();
  }

  protected function getHeraldFieldStandardType() {
    return self::STANDARD_PHID;
  }

  protected function getDatasource() {
    return new PhabricatorPeopleDatasource();
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class ManiphestTaskAuthorHeraldField
  extends ManiphestTaskHeraldField {

  const FIELDCONST = 'maniphest.task.author';

  public function getHeraldFieldName() {
    return pht('Author');
  }

  public function getHeraldFieldValue($object) {
    return $object->getAuthorPHID();
  }

  protected function getHeraldFieldStandardType() {
    return self::STANDARD_PHID;
  }

  protected function getDatasource() {
    return new PhabricatorPeopleDatasource();
  }

}

Function Calls

None

Variables

None

Stats

MD5 327878ad24a9568c2b1b7e1e42f186e4
Eval Count 0
Decode Time 133 ms