forked from Alex/Pterodactyl-Panel
65630bdcce
Makes the data slightly more complex, but forces a standard and can always be changed down the road simply by changing the default serializer.
19 lines
538 B
PHP
19 lines
538 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Serializer
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The default serializer to be used when performing a transformation. It
|
|
| may be left empty to use Fractal's default one. This can either be a
|
|
| string or a League\Fractal\Serializer\SerializerAbstract subclass.
|
|
|
|
|
*/
|
|
|
|
'default_serializer' => League\Fractal\Serializer\JsonApiSerializer::class,
|
|
|
|
];
|