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 PonderQuestionFulltextEngine extends PhabricatorFulltextEngine { p..

Decoded Output download

<?php

final class PonderQuestionFulltextEngine
  extends PhabricatorFulltextEngine {

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

    $question = $object;

    $document->setDocumentTitle($question->getTitle());

    $document->addField(
      PhabricatorSearchDocumentFieldType::FIELD_BODY,
      $question->getContent());

    $document->addRelationship(
      PhabricatorSearchRelationship::RELATIONSHIP_AUTHOR,
      $question->getAuthorPHID(),
      PhabricatorPeopleUserPHIDType::TYPECONST,
      $question->getDateCreated());
  }
}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PonderQuestionFulltextEngine
  extends PhabricatorFulltextEngine {

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

    $question = $object;

    $document->setDocumentTitle($question->getTitle());

    $document->addField(
      PhabricatorSearchDocumentFieldType::FIELD_BODY,
      $question->getContent());

    $document->addRelationship(
      PhabricatorSearchRelationship::RELATIONSHIP_AUTHOR,
      $question->getAuthorPHID(),
      PhabricatorPeopleUserPHIDType::TYPECONST,
      $question->getDateCreated());
  }
}

Function Calls

None

Variables

None

Stats

MD5 5010c9d8d2b46ab6938e725572e24f39
Eval Count 0
Decode Time 101 ms