src/Entity/Adress.php line 13
<?phpnamespace App\Entity;use ApiPlatform\Metadata\ApiResource;use App\Repository\AdressRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\UX\Turbo\Attribute\Broadcast;#[ORM\Embeddable]#[Broadcast]#[ApiResource]class Adress{#[ORM\Column(length: 255)]private ?string $street = null;#[ORM\Column(length: 255)]private ?string $city = null;#[ORM\Column(length: 255)]private ?string $postalCode = null;public function getStreet(): ?string{return $this->street;}public function setStreet(string $street): self{$this->street = $street;return $this;}public function getCity(): ?string{return $this->city;}public function setCity(string $city): self{$this->city = $city;return $this;}public function getPostalCode(): ?string{return $this->postalCode;}public function setPostalCode(string $postalCode): self{$this->postalCode = $postalCode;return $this;}}