Files
2024-12-24 10:33:18 +01:00

34 lines
613 B
PHP

<?php
namespace Pterodactyl\Transformers\Daemon;
use Carbon\Carbon;
use Illuminate\Support\Arr;
class CheckJarTransformer extends BaseDaemonTransformer
{
/**
* An array of files we allow editing in the Panel.
*
* @var array
*/
private $editable = [];
/**
* Transform a file object response from the daemon into a standardized response.
*
* @return array
*/
public function transform(array $item)
{
return [
'status' => $item,
];
}
public function getResourceName(): string
{
return 'status';
}
}