Simplify transformer logic

This commit is contained in:
DaneEveritt 2022-05-22 16:23:22 -04:00
parent f7fc67344e
commit 33bafe9277
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 32 additions and 44 deletions

View file

@ -1,19 +1,12 @@
<?php
namespace Pterodactyl\Transformers\Daemon;
namespace Pterodactyl\Transformers\Api\Client;
use Carbon\Carbon;
use Illuminate\Support\Arr;
class FileObjectTransformer extends BaseDaemonTransformer
class FileObjectTransformer extends BaseClientTransformer
{
/**
* 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.
*

View file

@ -1,9 +0,0 @@
<?php
namespace Pterodactyl\Transformers\Daemon;
use League\Fractal\TransformerAbstract;
abstract class BaseDaemonTransformer extends TransformerAbstract
{
}