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

Decoded Output download

<?php

final class PhabricatorCalendarImportDeleteLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'delete';

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

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht(
      'Deleted event "%s" which is no longer present in the source.',
      $log->getParameter('name'));
  }

  public function getDisplayIcon(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'fa-times';
  }

  public function getDisplayColor(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'grey';
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarImportDeleteLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'delete';

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

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht(
      'Deleted event "%s" which is no longer present in the source.',
      $log->getParameter('name'));
  }

  public function getDisplayIcon(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'fa-times';
  }

  public function getDisplayColor(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'grey';
  }

}

Function Calls

None

Variables

None

Stats

MD5 64ba10ab4619ed3163154f4057d3d6a6
Eval Count 0
Decode Time 119 ms