UserResources.php 289 B

123456789101112131415161718
  1. <?php
  2. namespace App\Resource;
  3. use Hyperf\Resource\Json\JsonResource;
  4. class UserResources extends JsonResource
  5. {
  6. /**
  7. * Transform the resource into an array.
  8. *
  9. * @return array
  10. */
  11. public function toArray(): array
  12. {
  13. return parent::toArray();
  14. }
  15. }