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 DifferentialRevisionRepositoryHeraldField extends DifferentialRevisio..
Decoded Output download
<?php
final class DifferentialRevisionRepositoryHeraldField
extends DifferentialRevisionHeraldField {
const FIELDCONST = 'differential.revision.repository';
public function getHeraldFieldName() {
return pht('Repository');
}
public function getHeraldFieldValue($object) {
$repository = $this->getAdapter()->loadRepository();
if (!$repository) {
return null;
}
return $repository->getPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_NULLABLE;
}
protected function getDatasource() {
return new DiffusionRepositoryDatasource();
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class DifferentialRevisionRepositoryHeraldField
extends DifferentialRevisionHeraldField {
const FIELDCONST = 'differential.revision.repository';
public function getHeraldFieldName() {
return pht('Repository');
}
public function getHeraldFieldValue($object) {
$repository = $this->getAdapter()->loadRepository();
if (!$repository) {
return null;
}
return $repository->getPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_NULLABLE;
}
protected function getDatasource() {
return new DiffusionRepositoryDatasource();
}
}
Function Calls
None |
Stats
MD5 | 7d4e4ad2499d328aa3c27e6f2b04f14e |
Eval Count | 0 |
Decode Time | 71 ms |