AddressTest.php 863 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace Test\Depo\RequestKit\Model;
  3. class AddressTest
  4. {
  5. /**
  6. * @var string
  7. * @example toto
  8. */
  9. public string $street = '';
  10. public string $city = '';
  11. /**
  12. * @var array<string>
  13. */
  14. private array $tags = [];
  15. public function getStreet(): string
  16. {
  17. return $this->street;
  18. }
  19. public function setStreet(string $street): AddressTest
  20. {
  21. $this->street = $street;
  22. return $this;
  23. }
  24. public function getCity(): string
  25. {
  26. return $this->city;
  27. }
  28. public function setCity(string $city): AddressTest
  29. {
  30. $this->city = $city;
  31. return $this;
  32. }
  33. public function getTags(): array
  34. {
  35. return $this->tags;
  36. }
  37. public function setTags(array $tags): AddressTest
  38. {
  39. $this->tags = $tags;
  40. return $this;
  41. }
  42. }