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 PhabricatorAuthSessionPHIDType extends PhabricatorPHIDType { const..

Decoded Output download

<?php

final class PhabricatorAuthSessionPHIDType
  extends PhabricatorPHIDType {

  const TYPECONST = 'SSSN';

  public function getTypeName() {
    return pht('Session');
  }

  public function newObject() {
    return new PhabricatorAuthSession();
  }

  public function getPHIDTypeApplicationClass() {
    return 'PhabricatorAuthApplication';
  }

  protected function buildQueryForObjects(
    PhabricatorObjectQuery $query,
    array $phids) {
    return id(new PhabricatorAuthSessionQuery())
      ->withPHIDs($phids);
  }

  public function loadHandles(
    PhabricatorHandleQuery $query,
    array $handles,
    array $objects) {
    return;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorAuthSessionPHIDType
  extends PhabricatorPHIDType {

  const TYPECONST = 'SSSN';

  public function getTypeName() {
    return pht('Session');
  }

  public function newObject() {
    return new PhabricatorAuthSession();
  }

  public function getPHIDTypeApplicationClass() {
    return 'PhabricatorAuthApplication';
  }

  protected function buildQueryForObjects(
    PhabricatorObjectQuery $query,
    array $phids) {
    return id(new PhabricatorAuthSessionQuery())
      ->withPHIDs($phids);
  }

  public function loadHandles(
    PhabricatorHandleQuery $query,
    array $handles,
    array $objects) {
    return;
  }

}

Function Calls

None

Variables

None

Stats

MD5 106ed4b534fecfc13ab85b30fa109df4
Eval Count 0
Decode Time 99 ms