src/Entity/Customer.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CustomerRepository;
  4. use Boab\CmsBundle\Entity\User;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Table(name="user_customer")
  8.  * @ORM\Entity(repositoryClass=CustomerRepository::class)
  9.  */
  10. class Customer extends User implements CustomerInterface
  11. {
  12.     /**
  13.      * @ORM\Column(type="boolean", nullable=true)
  14.      */
  15.     private $isVerified;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getIsVerified(): ?bool
  21.     {
  22.         return $this->isVerified;
  23.     }
  24.     public function setIsVerified(?bool $isVerified): self
  25.     {
  26.         $this->isVerified $isVerified;
  27.         return $this;
  28.     }
  29.     public function isIsVerified(): ?bool
  30.     {
  31.         return $this->isVerified;
  32.     }
  33. }