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 PhabricatorCalendarImportEmptyLogType extends PhabricatorCalendarImpo..

Decoded Output download

<?php

final class PhabricatorCalendarImportEmptyLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'empty';

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

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Found no valid events to import.');
  }

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

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

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarImportEmptyLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'empty';

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

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Found no valid events to import.');
  }

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

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

}

Function Calls

None

Variables

None

Stats

MD5 223870b1f0f2cf36b27ee2f4cc9d2de2
Eval Count 0
Decode Time 78 ms