Simplify transformer logic
This commit is contained in:
parent
f7fc67344e
commit
33bafe9277
6 changed files with 32 additions and 44 deletions
|
@ -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.
|
||||
*
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Pterodactyl\Transformers\Daemon;
|
||||
|
||||
use League\Fractal\TransformerAbstract;
|
||||
|
||||
abstract class BaseDaemonTransformer extends TransformerAbstract
|
||||
{
|
||||
}
|
Reference in a new issue