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 abstract class PhabricatorCalendarImportLogType extends Phobject { final publi..

Decoded Output download

<?php

abstract class PhabricatorCalendarImportLogType
  extends Phobject {

  final public function getLogTypeConstant() {
    return $this->getPhobjectClassConstant('LOGTYPE', 64);
  }

  final public static function getAllLogTypes() {
    return id(new PhutilClassMapQuery())
      ->setAncestorClass(__CLASS__)
      ->setUniqueMethod('getLogTypeConstant')
      ->execute();
  }

  abstract public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log);

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

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

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return null;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorCalendarImportLogType
  extends Phobject {

  final public function getLogTypeConstant() {
    return $this->getPhobjectClassConstant('LOGTYPE', 64);
  }

  final public static function getAllLogTypes() {
    return id(new PhutilClassMapQuery())
      ->setAncestorClass(__CLASS__)
      ->setUniqueMethod('getLogTypeConstant')
      ->execute();
  }

  abstract public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log);

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

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

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return null;
  }

}

Function Calls

None

Variables

None

Stats

MD5 bbfb700e18ddd48dd5839b0a16501f1c
Eval Count 0
Decode Time 99 ms