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 DifferentialDiffRepositoryHeraldField extends DifferentialDiffHeraldF..
Decoded Output download
<?php
final class DifferentialDiffRepositoryHeraldField
extends DifferentialDiffHeraldField {
const FIELDCONST = 'differential.diff.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 DifferentialDiffRepositoryHeraldField
extends DifferentialDiffHeraldField {
const FIELDCONST = 'differential.diff.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 | 415aa7e280819b4829c0fa39fc02cdd2 |
Eval Count | 0 |
Decode Time | 71 ms |