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 PhabricatorDashboardPanelFulltextEngine extends PhabricatorFulltextEn..

Decoded Output download

<?php

final class PhabricatorDashboardPanelFulltextEngine
  extends PhabricatorFulltextEngine {

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

    $panel = $object;

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

    $document->addRelationship(
      $panel->getIsArchived()
        ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
        : PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
      $panel->getPHID(),
      PhabricatorDashboardPanelPHIDType::TYPECONST,
      PhabricatorTime::getNow());
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorDashboardPanelFulltextEngine
  extends PhabricatorFulltextEngine {

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

    $panel = $object;

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

    $document->addRelationship(
      $panel->getIsArchived()
        ? PhabricatorSearchRelationship::RELATIONSHIP_CLOSED
        : PhabricatorSearchRelationship::RELATIONSHIP_OPEN,
      $panel->getPHID(),
      PhabricatorDashboardPanelPHIDType::TYPECONST,
      PhabricatorTime::getNow());
  }

}

Function Calls

None

Variables

None

Stats

MD5 822590d80c4457d402d61ad21274b19b
Eval Count 0
Decode Time 114 ms