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 PhabricatorOwnersPackageDescriptionTransaction extends PhabricatorOwn..
Decoded Output download
<?php
final class PhabricatorOwnersPackageDescriptionTransaction
extends PhabricatorOwnersPackageTransactionType {
const TRANSACTIONTYPE = 'owners.description';
public function generateOldValue($object) {
return $object->getDescription();
}
public function applyInternalEffects($object, $value) {
$object->setDescription($value);
}
public function getTitle() {
return pht(
'%s updated the description for this package.',
$this->renderAuthor());
}
public function getMailDiffSectionHeader() {
return pht('CHANGES TO PACKAGE DESCRIPTION');
}
public function newChangeDetailView() {
return id(new PhabricatorApplicationTransactionTextDiffDetailView())
->setViewer($this->getViewer())
->setOldText($this->getOldValue())
->setNewText($this->getNewValue());
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorOwnersPackageDescriptionTransaction
extends PhabricatorOwnersPackageTransactionType {
const TRANSACTIONTYPE = 'owners.description';
public function generateOldValue($object) {
return $object->getDescription();
}
public function applyInternalEffects($object, $value) {
$object->setDescription($value);
}
public function getTitle() {
return pht(
'%s updated the description for this package.',
$this->renderAuthor());
}
public function getMailDiffSectionHeader() {
return pht('CHANGES TO PACKAGE DESCRIPTION');
}
public function newChangeDetailView() {
return id(new PhabricatorApplicationTransactionTextDiffDetailView())
->setViewer($this->getViewer())
->setOldText($this->getOldValue())
->setNewText($this->getNewValue());
}
}
Function Calls
None |
Stats
MD5 | 3c10983e81bc6da7da36bf550ca35b54 |
Eval Count | 0 |
Decode Time | 93 ms |