We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e9601 commit 8a0d99eCopy full SHA for 8a0d99e
config/response.php
@@ -16,7 +16,7 @@
16
17
'format' => [
18
'paginated_resource' => [
19
- 'data_field' => 'data'
+ 'data_field' => 'data',
20
],
21
22
];
src/Support/Serializers/ArraySerializer.php
@@ -1,5 +1,14 @@
1
<?php
2
3
+/*
4
+ * This file is part of the Jiannei/laravel-response.
5
+ *
6
+ * (c) Jiannei <longjian.huang@foxmail.com>
7
8
+ * This source file is subject to the MIT license that is bundled
9
+ * with this source code in the file LICENSE.
10
+ */
11
+
12
namespace Jiannei\Response\Laravel\Support\Serializers;
13
14
use Illuminate\Support\Facades\Config;
0 commit comments