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 PhortuneAccountBillingAddressTransaction extends PhortuneAccountTrans..

Decoded Output download

<?php

final class PhortuneAccountBillingAddressTransaction
  extends PhortuneAccountTransactionType {

  const TRANSACTIONTYPE = 'billing-address';

  public function generateOldValue($object) {
    return $object->getBillingAddress();
  }

  public function applyInternalEffects($object, $value) {
    $object->setBillingAddress($value);
  }

  public function getTitle() {
    return pht(
      '%s updated the account billing address.',
      $this->renderAuthor());
  }

  public function hasChangeDetailView() {
    return true;
  }

  public function getMailDiffSectionHeader() {
    return pht('CHANGES TO BILLING ADDRESS');
  }

  public function newChangeDetailView() {
    $viewer = $this->getViewer();

    return id(new PhabricatorApplicationTransactionTextDiffDetailView())
      ->setViewer($viewer)
      ->setOldText($this->getOldValue())
      ->setNewText($this->getNewValue());
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhortuneAccountBillingAddressTransaction
  extends PhortuneAccountTransactionType {

  const TRANSACTIONTYPE = 'billing-address';

  public function generateOldValue($object) {
    return $object->getBillingAddress();
  }

  public function applyInternalEffects($object, $value) {
    $object->setBillingAddress($value);
  }

  public function getTitle() {
    return pht(
      '%s updated the account billing address.',
      $this->renderAuthor());
  }

  public function hasChangeDetailView() {
    return true;
  }

  public function getMailDiffSectionHeader() {
    return pht('CHANGES TO BILLING ADDRESS');
  }

  public function newChangeDetailView() {
    $viewer = $this->getViewer();

    return id(new PhabricatorApplicationTransactionTextDiffDetailView())
      ->setViewer($viewer)
      ->setOldText($this->getOldValue())
      ->setNewText($this->getNewValue());
  }

}

Function Calls

None

Variables

None

Stats

MD5 14a29b5627011f43d53b581bf566e7f9
Eval Count 0
Decode Time 127 ms