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 abstract class PhabricatorMailReceiver extends Phobject { private $viewer; pri..

Decoded Output download

<?php

abstract class PhabricatorMailReceiver extends Phobject {

  private $viewer;
  private $sender;

  final public function setViewer(PhabricatorUser $viewer) {
    $this->viewer = $viewer;
    return $this;
  }

  final public function getViewer() {
    return $this->viewer;
  }

  final public function setSender(PhabricatorUser $sender) {
    $this->sender = $sender;
    return $this;
  }

  final public function getSender() {
    return $this->sender;
  }

  abstract public function isEnabled();
  abstract public function canAcceptMail(
    PhabricatorMetaMTAReceivedMail $mail,
    PhutilEmailAddress $target);

  abstract protected function processReceivedMail(
    PhabricatorMetaMTAReceivedMail $mail,
    PhutilEmailAddress $target);

  final public function receiveMail(
    PhabricatorMetaMTAReceivedMail $mail,
    PhutilEmailAddress $target) {
    $this->processReceivedMail($mail, $target);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorMailReceiver extends Phobject {

  private $viewer;
  private $sender;

  final public function setViewer(PhabricatorUser $viewer) {
    $this->viewer = $viewer;
    return $this;
  }

  final public function getViewer() {
    return $this->viewer;
  }

  final public function setSender(PhabricatorUser $sender) {
    $this->sender = $sender;
    return $this;
  }

  final public function getSender() {
    return $this->sender;
  }

  abstract public function isEnabled();
  abstract public function canAcceptMail(
    PhabricatorMetaMTAReceivedMail $mail,
    PhutilEmailAddress $target);

  abstract protected function processReceivedMail(
    PhabricatorMetaMTAReceivedMail $mail,
    PhutilEmailAddress $target);

  final public function receiveMail(
    PhabricatorMetaMTAReceivedMail $mail,
    PhutilEmailAddress $target) {
    $this->processReceivedMail($mail, $target);
  }

}

Function Calls

None

Variables

None

Stats

MD5 712d97fd830809d89b6a08837adcbdef
Eval Count 0
Decode Time 97 ms