extends |
ResourceCollection |
|---|
| Methods | ||
|---|---|---|
public
|
__construct(mixed $resource, string $collects)
|
# |
| Methods inherited from Illuminate\Http\Resources\Json\ResourceCollection |
|---|
preserveQuery(), withQuery(), count(), toArray(), toResponse(), preparePaginatedResponse() |
| Methods inherited from Illuminate\Http\Resources\Json\JsonResource |
|---|
make(), collection(), newCollection(), resolve(), toJson(), with(), additional(), jsonOptions(), withResponse(), wrap(), withoutWrapping(), response(), jsonSerialize() |
| Methods used from Illuminate\Http\Resources\CollectsResources |
|---|
collectResource(), collects(), jsonOptions(), getIterator() |
| Properties | |||
|---|---|---|---|
public
|
string
|
$collects
|
# |
public
|
bool
|
$preserveKeys = false
|
# |
| Properties inherited from Illuminate\Http\Resources\Json\ResourceCollection |
|---|
$collection, $preserveAllQueryParameters, $queryParameters |
| Properties inherited from Illuminate\Http\Resources\Json\JsonResource |
|---|
$resource, $with, $additional, $wrap |