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 PhortuneMerchantPictureTransaction extends PhortuneMerchantTransactio..

Decoded Output download

<?php

final class PhortuneMerchantPictureTransaction
  extends PhortuneMerchantTransactionType {

  const TRANSACTIONTYPE = 'merchant:picture';

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

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

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

  public function getTitleForFeed() {
    return pht(
      '%s updated the picture for merchant %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

  public function getIcon() {
    return 'fa-camera-retro';
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhortuneMerchantPictureTransaction
  extends PhortuneMerchantTransactionType {

  const TRANSACTIONTYPE = 'merchant:picture';

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

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

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

  public function getTitleForFeed() {
    return pht(
      '%s updated the picture for merchant %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

  public function getIcon() {
    return 'fa-camera-retro';
  }

}

Function Calls

None

Variables

None

Stats

MD5 301a49a52543c207d791719966e262b7
Eval Count 0
Decode Time 94 ms