Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/config/fractal.php
7382 views
1
<?php
2
3
return [
4
/*
5
|--------------------------------------------------------------------------
6
| Default Serializer
7
|--------------------------------------------------------------------------
8
|
9
| The default serializer to be used when performing a transformation. It
10
| may be left empty to use Fractal's default one. This can either be a
11
| string or a League\Fractal\Serializer\SerializerAbstract subclass.
12
|
13
*/
14
15
'default_serializer' => League\Fractal\Serializer\JsonApiSerializer::class,
16
17
/*
18
|--------------------------------------------------------------------------
19
| Auto Includes
20
|--------------------------------------------------------------------------
21
|
22
| If enabled Fractal will automatically add the includes who's
23
| names are present in the `include` request parameter.
24
|
25
*/
26
27
'auto_includes' => [
28
'enabled' => true,
29
'request_key' => 'include',
30
],
31
];
32
33