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 DrydockLeaseReclaimLogType extends DrydockLogType { const LOGCONST =..

Decoded Output download

<?php

final class DrydockLeaseReclaimLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.reclaim';

  public function getLogTypeName() {
    return pht('Reclaimed Resources');
  }

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

  public function renderLog(array $data) {
    $resource_phids = idx($data, 'resourcePHIDs', array());

    return pht(
      'Reclaimed resource %s.',
      $this->renderHandleList($resource_phids));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DrydockLeaseReclaimLogType extends DrydockLogType {

  const LOGCONST = 'core.lease.reclaim';

  public function getLogTypeName() {
    return pht('Reclaimed Resources');
  }

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

  public function renderLog(array $data) {
    $resource_phids = idx($data, 'resourcePHIDs', array());

    return pht(
      'Reclaimed resource %s.',
      $this->renderHandleList($resource_phids));
  }

}

Function Calls

None

Variables

None

Stats

MD5 786f6a45fe945b44add8702d2ec21a9e
Eval Count 0
Decode Time 92 ms