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 DiffusionPreCommitRefNameHeraldField extends DiffusionPreCommitRefHer..

Decoded Output download

<?php

final class DiffusionPreCommitRefNameHeraldField
  extends DiffusionPreCommitRefHeraldField {

  const FIELDCONST = 'diffusion.pre.ref.name';

  public function getHeraldFieldName() {
    return pht('Ref name');
  }

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

  protected function getHeraldFieldStandardType() {
    return HeraldField::STANDARD_TEXT;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DiffusionPreCommitRefNameHeraldField
  extends DiffusionPreCommitRefHeraldField {

  const FIELDCONST = 'diffusion.pre.ref.name';

  public function getHeraldFieldName() {
    return pht('Ref name');
  }

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

  protected function getHeraldFieldStandardType() {
    return HeraldField::STANDARD_TEXT;
  }

}

Function Calls

None

Variables

None

Stats

MD5 c864ddf82576bcba16fb579da39c00b1
Eval Count 0
Decode Time 85 ms