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 DrydockLeaseWaitingForResourcesLogType extends DrydockLogType { cons..

Decoded Output download

<?php

final class DrydockLeaseWaitingForResourcesLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.waiting-for-resources';

  public function getLogTypeName() {
    return pht('Waiting For Resource');
  }

  public function getLogTypeIcon(array $data) {
    return 'fa-clock-o yellow';
  }

  public function renderLog(array $data) {
    $blueprint_phids = idx($data, 'blueprintPHIDs', array());

    return pht(
      'Waiting for available resources from: %s.',
      $this->renderHandleList($blueprint_phids));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DrydockLeaseWaitingForResourcesLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.waiting-for-resources';

  public function getLogTypeName() {
    return pht('Waiting For Resource');
  }

  public function getLogTypeIcon(array $data) {
    return 'fa-clock-o yellow';
  }

  public function renderLog(array $data) {
    $blueprint_phids = idx($data, 'blueprintPHIDs', array());

    return pht(
      'Waiting for available resources from: %s.',
      $this->renderHandleList($blueprint_phids));
  }

}

Function Calls

None

Variables

None

Stats

MD5 774148710bd282af1636c81cd87ce6a5
Eval Count 0
Decode Time 76 ms