Response.php 437 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Dingo\Blueprint\Annotation;
  3. /**
  4. * @Annotation
  5. */
  6. class Response
  7. {
  8. /**
  9. * @var int
  10. */
  11. public $statusCode;
  12. /**
  13. * @var string
  14. */
  15. public $contentType = 'application/json';
  16. /**
  17. * @var mixed
  18. */
  19. public $body;
  20. /**
  21. * @var array
  22. */
  23. public $headers = [];
  24. /**
  25. * @var array<Dingo\Blueprint\Annotation\Attribute>
  26. */
  27. public $attributes;
  28. }