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 DrydockResourceAllocationFailureLogType extends DrydockLogType { con..
Decoded Output download
<?php
final class DrydockResourceAllocationFailureLogType extends DrydockLogType {
const LOGCONST = 'core.resource.allocation-failure';
public function getLogTypeName() {
return pht('Allocation Failed');
}
public function getLogTypeIcon(array $data) {
return 'fa-times red';
}
public function renderLog(array $data) {
$class = idx($data, 'class');
$message = idx($data, 'message');
return pht(
'Blueprint failed to allocate a resource after claiming it would '.
'be able to: [%s] %s',
$class,
$message);
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class DrydockResourceAllocationFailureLogType extends DrydockLogType {
const LOGCONST = 'core.resource.allocation-failure';
public function getLogTypeName() {
return pht('Allocation Failed');
}
public function getLogTypeIcon(array $data) {
return 'fa-times red';
}
public function renderLog(array $data) {
$class = idx($data, 'class');
$message = idx($data, 'message');
return pht(
'Blueprint failed to allocate a resource after claiming it would '.
'be able to: [%s] %s',
$class,
$message);
}
}
Function Calls
None |
Stats
MD5 | 5b32d0d99949f9b2af4a1a9745e85059 |
Eval Count | 0 |
Decode Time | 103 ms |