src/Entity/ObjectValue/Laboratory.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\ObjectValue;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Embeddable
  6.  */
  7. class Laboratory
  8. {
  9.     /**
  10.      * @ORM\Column(type="string", nullable=true)
  11.      *
  12.      * @var string
  13.      */
  14.     protected $phone;
  15.     /**
  16.      * @ORM\Column(type="string", nullable=true)
  17.      *
  18.      * @var string
  19.      */
  20.     protected $address;
  21.     /**
  22.      * @ORM\Column(type="string", nullable=true)
  23.      *
  24.      * @var string
  25.      */
  26.     protected $email;
  27.     /**
  28.      * @ORM\Column(type="string", nullable=true)
  29.      *
  30.      * @var string
  31.      */
  32.     protected $url;
  33.     /**
  34.      * @return string
  35.      */
  36.     public function getPhone(): ?string
  37.     {
  38.         return $this->phone;
  39.     }
  40.     /**
  41.      * @return Laboratory
  42.      */
  43.     public function setPhone(?string $phone): self
  44.     {
  45.         $this->phone $phone;
  46.         return $this;
  47.     }
  48.     /**
  49.      * @return string
  50.      */
  51.     public function getAddress(): ?string
  52.     {
  53.         return $this->address;
  54.     }
  55.     /**
  56.      * @return Laboratory
  57.      */
  58.     public function setAddress(?string $address): self
  59.     {
  60.         $this->address $address;
  61.         return $this;
  62.     }
  63.     /**
  64.      * @return string
  65.      */
  66.     public function getEmail(): ?string
  67.     {
  68.         return $this->email;
  69.     }
  70.     /**
  71.      * @return Laboratory
  72.      */
  73.     public function setEmail(?string $email): self
  74.     {
  75.         $this->email $email;
  76.         return $this;
  77.     }
  78.     public function getUrl(): ?string
  79.     {
  80.         return $this->url;
  81.     }
  82.     /**
  83.      * @return Laboratory
  84.      */
  85.     public function setUrl(?string $url): self
  86.     {
  87.         $this->url $url;
  88.         return $this;
  89.     }
  90. }