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 PhabricatorDashboardIconTransaction extends PhabricatorDashboardTrans..
Decoded Output download
<?php
final class PhabricatorDashboardIconTransaction
extends PhabricatorDashboardTransactionType {
const TRANSACTIONTYPE = 'dashboard:icon';
public function generateOldValue($object) {
return $object->getIcon();
}
public function applyInternalEffects($object, $value) {
$object->setIcon($value);
}
public function getTitle() {
$old = $this->getOldValue();
$new = $this->getNewValue();
return pht(
'%s changed the icon for this dashboard from %s to %s.',
$this->renderAuthor(),
$this->renderOldValue(),
$this->renderNewValue());
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorDashboardIconTransaction
extends PhabricatorDashboardTransactionType {
const TRANSACTIONTYPE = 'dashboard:icon';
public function generateOldValue($object) {
return $object->getIcon();
}
public function applyInternalEffects($object, $value) {
$object->setIcon($value);
}
public function getTitle() {
$old = $this->getOldValue();
$new = $this->getNewValue();
return pht(
'%s changed the icon for this dashboard from %s to %s.',
$this->renderAuthor(),
$this->renderOldValue(),
$this->renderNewValue());
}
}
Function Calls
None |
Stats
MD5 | 276b091fcbc334ea7c937d028bff229b |
Eval Count | 0 |
Decode Time | 87 ms |