src/App/Entity/System/Twilio/TwilioConfigs/Infos/TwilioAddressEmbeddable.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\System\Twilio\TwilioConfigs\Infos;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Class TwilioAddressEmbeddable
  6.  * @package App\Entity\System\Twilio\TwilioConfigs\Infos
  7.  *
  8.  * @ORM\Embeddable()
  9.  */
  10. class TwilioAddressEmbeddable extends AbstractTwilioInfoEmbeddable
  11. {
  12.     /**
  13.      * @var string|null
  14.      *
  15.      * @ORM\Column(
  16.      *     type = "string",
  17.      *     nullable = true,
  18.      * )
  19.      */
  20.     protected ?string $street;
  21.     /**
  22.      * @var string|null
  23.      *
  24.      * @ORM\Column(
  25.      *     type = "string",
  26.      *     nullable = true,
  27.      * )
  28.      */
  29.     protected ?string $city;
  30.     /**
  31.      * @var string|null
  32.      *
  33.      * @ORM\Column(
  34.      *     type = "string",
  35.      *     nullable = true,
  36.      * )
  37.      */
  38.     protected ?string $region;
  39.     /**
  40.      * @var string|null
  41.      *
  42.      * @ORM\Column(
  43.      *     type = "string",
  44.      *     nullable = true,
  45.      * )
  46.      */
  47.     protected ?string $postalCode;
  48.     /**
  49.      * @var string|null
  50.      *
  51.      * @ORM\Column(
  52.      *     type = "string",
  53.      *     nullable = true,
  54.      * )
  55.      */
  56.     protected ?string $country;
  57.     /**
  58.      * @return string|null
  59.      */
  60.     public function getStreet(): ?string
  61.     {
  62.         return $this->street;
  63.     }
  64.     /**
  65.      * @param string|null $street
  66.      * @return $this
  67.      */
  68.     public function setStreet(?string $street): self
  69.     {
  70.         $this->street $street;
  71.         return $this;
  72.     }
  73.     /**
  74.      * @return string|null
  75.      */
  76.     public function getCity(): ?string
  77.     {
  78.         return $this->city;
  79.     }
  80.     /**
  81.      * @param string|null $city
  82.      * @return $this
  83.      */
  84.     public function setCity(?string $city): self
  85.     {
  86.         $this->city $city;
  87.         return $this;
  88.     }
  89.     /**
  90.      * @return string|null
  91.      */
  92.     public function getRegion(): ?string
  93.     {
  94.         return $this->region;
  95.     }
  96.     /**
  97.      * @param string|null $region
  98.      * @return $this
  99.      */
  100.     public function setRegion(?string $region): self
  101.     {
  102.         $this->region $region;
  103.         return $this;
  104.     }
  105.     /**
  106.      * @return string|null
  107.      */
  108.     public function getPostalCode(): ?string
  109.     {
  110.         return $this->postalCode;
  111.     }
  112.     /**
  113.      * @param string|null $postalCode
  114.      * @return $this
  115.      */
  116.     public function setPostalCode(?string $postalCode): self
  117.     {
  118.         $this->postalCode $postalCode;
  119.         return $this;
  120.     }
  121.     /**
  122.      * @return string|null
  123.      */
  124.     public function getCountry(): ?string
  125.     {
  126.         return $this->country;
  127.     }
  128.     /**
  129.      * @param string|null $country
  130.      * @return $this
  131.      */
  132.     public function setCountry(?string $country): self
  133.     {
  134.         $this->country $country;
  135.         return $this;
  136.     }
  137. }