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 6dd1b30 commit b3a1252Copy full SHA for b3a1252
docs/config.md
@@ -67,15 +67,15 @@ php artisan vendor:publish
67
68
```php
69
'converter' => [
70
- \Illuminate\Database\Eloquent\Model::class => [
+ \Illuminate\Database\Eloquent\Model::class => [
71
'handler' => \MarcinOrlowski\ResponseBuilder\Converters\ToArrayConverter::class,
72
'key' => 'items',
73
- // 'pri' => 0,
+ 'pri' => 0,
74
],
75
- \Illuminate\Database\Eloquent\Collection::class => [
76
- 'handler' => \MarcinOrlowski\ResponseBuilder\Converters\ToArrayConverter::class,
77
- 'key' => 'items',
78
+ \Illuminate\Pagination\Paginator::class => [
+ 'handler' => \MarcinOrlowski\ResponseBuilder\Converters\ArrayableConverter::class,
+ 'key' => null,
79
80
81
```
0 commit comments