25 lines
437 B
PHP
25 lines
437 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Resources;
|
||
|
|
||
|
use Illuminate\Http\Resources\Json\Resource;
|
||
|
|
||
|
/**
|
||
|
* Class Response
|
||
|
* @package App\Http\Resources
|
||
|
* Generic response resource
|
||
|
*/
|
||
|
class Response extends Resource
|
||
|
{
|
||
|
/**
|
||
|
* Transform the resource into an array.
|
||
|
*
|
||
|
* @param \Illuminate\Http\Request $request
|
||
|
* @return array
|
||
|
*/
|
||
|
public function toArray($request)
|
||
|
{
|
||
|
return parent::toArray($request);
|
||
|
}
|
||
|
}
|