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 DrydockResourceReclaimLogType extends DrydockLogType { const LOGCONS..

Decoded Output download

<?php

final class DrydockResourceReclaimLogType extends DrydockLogType {

  const LOGCONST = 'core.resource.reclaim';

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

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

  public function renderLog(array $data) {
    $reclaimer_phid = idx($data, 'reclaimerPHID');

    return pht(
      'Resource reclaimed by %s.',
      $this->renderHandle($reclaimer_phid));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DrydockResourceReclaimLogType extends DrydockLogType {

  const LOGCONST = 'core.resource.reclaim';

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

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

  public function renderLog(array $data) {
    $reclaimer_phid = idx($data, 'reclaimerPHID');

    return pht(
      'Resource reclaimed by %s.',
      $this->renderHandle($reclaimer_phid));
  }

}

Function Calls

None

Variables

None

Stats

MD5 b639c4ec49e9d26d77596e82fc723343
Eval Count 0
Decode Time 105 ms