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 PhabricatorAuthHighSecurityRequiredException extends Exception { pri..

Decoded Output download

<?php

final class PhabricatorAuthHighSecurityRequiredException extends Exception {

  private $cancelURI;
  private $factors;
  private $factorValidationResults;
  private $isSessionUpgrade;

  public function setFactorValidationResults(array $results) {
    assert_instances_of($results, 'PhabricatorAuthFactorResult');
    $this->factorValidationResults = $results;
    return $this;
  }

  public function getFactorValidationResults() {
    return $this->factorValidationResults;
  }

  public function setFactors(array $factors) {
    assert_instances_of($factors, 'PhabricatorAuthFactorConfig');
    $this->factors = $factors;
    return $this;
  }

  public function getFactors() {
    return $this->factors;
  }

  public function setCancelURI($cancel_uri) {
    $this->cancelURI = $cancel_uri;
    return $this;
  }

  public function getCancelURI() {
    return $this->cancelURI;
  }

  public function setIsSessionUpgrade($is_upgrade) {
    $this->isSessionUpgrade = $is_upgrade;
    return $this;
  }

  public function getIsSessionUpgrade() {
    return $this->isSessionUpgrade;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorAuthHighSecurityRequiredException extends Exception {

  private $cancelURI;
  private $factors;
  private $factorValidationResults;
  private $isSessionUpgrade;

  public function setFactorValidationResults(array $results) {
    assert_instances_of($results, 'PhabricatorAuthFactorResult');
    $this->factorValidationResults = $results;
    return $this;
  }

  public function getFactorValidationResults() {
    return $this->factorValidationResults;
  }

  public function setFactors(array $factors) {
    assert_instances_of($factors, 'PhabricatorAuthFactorConfig');
    $this->factors = $factors;
    return $this;
  }

  public function getFactors() {
    return $this->factors;
  }

  public function setCancelURI($cancel_uri) {
    $this->cancelURI = $cancel_uri;
    return $this;
  }

  public function getCancelURI() {
    return $this->cancelURI;
  }

  public function setIsSessionUpgrade($is_upgrade) {
    $this->isSessionUpgrade = $is_upgrade;
    return $this;
  }

  public function getIsSessionUpgrade() {
    return $this->isSessionUpgrade;
  }

}

Function Calls

None

Variables

None

Stats

MD5 672777bc315c1486765a384a1899561a
Eval Count 0
Decode Time 94 ms