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 PhabricatorDashboardPortalFulltextEngine extends PhabricatorFulltextE..

Decoded Output download

<?php

final class PhabricatorDashboardPortalFulltextEngine
  extends PhabricatorFulltextEngine {

  protected function buildAbstractDocument(
    PhabricatorSearchAbstractDocument $document,
    $object) {

    $portal = $object;

    $document->setDocumentTitle($portal->getName());

    $document->addRelationship(
      $portal->isArchived()
        ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
        : PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
      $portal->getPHID(),
      PhabricatorDashboardPortalPHIDType::TYPECONST,
      PhabricatorTime::getNow());
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorDashboardPortalFulltextEngine
  extends PhabricatorFulltextEngine {

  protected function buildAbstractDocument(
    PhabricatorSearchAbstractDocument $document,
    $object) {

    $portal = $object;

    $document->setDocumentTitle($portal->getName());

    $document->addRelationship(
      $portal->isArchived()
        ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
        : PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
      $portal->getPHID(),
      PhabricatorDashboardPortalPHIDType::TYPECONST,
      PhabricatorTime::getNow());
  }

}

Function Calls

None

Variables

None

Stats

MD5 d9b80288e3ee89b4e4223908d61146ee
Eval Count 0
Decode Time 105 ms