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 DiffusionPreCommitContentRepositoryHeraldField extends DiffusionPreCo..
Decoded Output download
<?php
final class DiffusionPreCommitContentRepositoryHeraldField
extends DiffusionPreCommitContentHeraldField {
const FIELDCONST = 'diffusion.pre.content.repository';
public function getHeraldFieldName() {
return pht('Repository');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getHookEngine()->getRepository()->getPHID();
}
protected function getHeraldFieldStandardType() {
return HeraldField::STANDARD_PHID;
}
protected function getDatasource() {
return new DiffusionRepositoryDatasource();
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class DiffusionPreCommitContentRepositoryHeraldField
extends DiffusionPreCommitContentHeraldField {
const FIELDCONST = 'diffusion.pre.content.repository';
public function getHeraldFieldName() {
return pht('Repository');
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getHookEngine()->getRepository()->getPHID();
}
protected function getHeraldFieldStandardType() {
return HeraldField::STANDARD_PHID;
}
protected function getDatasource() {
return new DiffusionRepositoryDatasource();
}
}
Function Calls
None |
Stats
MD5 | 934475aaa352b4c9fdef79e3881b9507 |
Eval Count | 0 |
Decode Time | 90 ms |