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 DifferentialRevisionAuthorHeraldField extends DifferentialRevisionHer..

Decoded Output download

<?php

final class DifferentialRevisionAuthorHeraldField
  extends DifferentialRevisionHeraldField {

  const FIELDCONST = 'differential.revision.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 DifferentialRevisionAuthorHeraldField
  extends DifferentialRevisionHeraldField {

  const FIELDCONST = 'differential.revision.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 bc8e13c120afaf5f22cf3d1a906dd805
Eval Count 0
Decode Time 78 ms