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 DiffusionCommitRepositoryHeraldField extends DiffusionCommitHeraldFie..

Decoded Output download

<?php

final class DiffusionCommitRepositoryHeraldField
  extends DiffusionCommitHeraldField {

  const FIELDCONST = 'diffusion.commit.repository';

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

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

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

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

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DiffusionCommitRepositoryHeraldField
  extends DiffusionCommitHeraldField {

  const FIELDCONST = 'diffusion.commit.repository';

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

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

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

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

}

Function Calls

None

Variables

None

Stats

MD5 60c7b3ea1bf4b485e9d56ae5537a6a54
Eval Count 0
Decode Time 76 ms