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 PassphraseCredentialLookedAtTransaction extends PassphraseCredentialT..

Decoded Output download

<?php

final class PassphraseCredentialLookedAtTransaction
  extends PassphraseCredentialTransactionType {

  const TRANSACTIONTYPE = 'passphrase:lookedAtSecret';

  public function generateOldValue($object) {
    return null;
  }

  public function getTitle() {
    return pht(
      '%s examined the secret plaintext for this credential.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s examined the secret plaintext for credential %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

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

  public function getColor() {
    return 'blue';
  }

  public function shouldTryMFA(
    $object,
    PhabricatorApplicationTransaction $xaction) {
    return true;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PassphraseCredentialLookedAtTransaction
  extends PassphraseCredentialTransactionType {

  const TRANSACTIONTYPE = 'passphrase:lookedAtSecret';

  public function generateOldValue($object) {
    return null;
  }

  public function getTitle() {
    return pht(
      '%s examined the secret plaintext for this credential.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s examined the secret plaintext for credential %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

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

  public function getColor() {
    return 'blue';
  }

  public function shouldTryMFA(
    $object,
    PhabricatorApplicationTransaction $xaction) {
    return true;
  }

}

Function Calls

None

Variables

None

Stats

MD5 c6223a10fd0330a413e2f88754392625
Eval Count 0
Decode Time 98 ms