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 PhabricatorDashboardFulltextEngine extends PhabricatorFulltextEngine ..

Decoded Output download

<?php

final class PhabricatorDashboardFulltextEngine
  extends PhabricatorFulltextEngine {

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

    $dashboard = $object;

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

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

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorDashboardFulltextEngine
  extends PhabricatorFulltextEngine {

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

    $dashboard = $object;

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

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

}

Function Calls

None

Variables

None

Stats

MD5 c805a552ffc4cef847d9f9a7b4a2d9e7
Eval Count 0
Decode Time 105 ms