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 PhabricatorCalendarImportOrphanLogType extends PhabricatorCalendarImp..

Decoded Output download

<?php

final class PhabricatorCalendarImportOrphanLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'orphan';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Orphan');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    $child_uid = $log->getParameter('uid.full');
    $parent_uid = $log->getParameter('uid.parent');
    return pht(
      'Found orphaned child event ("%s") without a parent event ("%s").',
      $child_uid,
      $parent_uid);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarImportOrphanLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'orphan';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Orphan');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    $child_uid = $log->getParameter('uid.full');
    $parent_uid = $log->getParameter('uid.parent');
    return pht(
      'Found orphaned child event ("%s") without a parent event ("%s").',
      $child_uid,
      $parent_uid);
  }

}

Function Calls

None

Variables

None

Stats

MD5 61354a7e667abc080373dc6158ba0fc3
Eval Count 0
Decode Time 80 ms