RoomResource.php 353 B

1234567891011121314151617181920
  1. <?php
  2. namespace App\Http\Resources\Goodnight;
  3. use App\Http\Resources\Resource;
  4. class RoomResource extends Resource
  5. {
  6. /**
  7. * Transform the resource into an array.
  8. *
  9. * @param \Illuminate\Http\Request $request
  10. * @return array
  11. */
  12. public function toArray($request)
  13. {
  14. return parent::toArray($request);
  15. }
  16. }