src/Entity/CreditPackGeneric.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\CreditPackGenericRepository")
  6.  */
  7. class CreditPackGeneric extends CreditPack
  8. {
  9.     /**
  10.      * @ORM\Column(type="boolean")
  11.      */
  12.     private $active;
  13.     public function getActive(): ?bool
  14.     {
  15.         return $this->active;
  16.     }
  17.     public function setActive(bool $active): self
  18.     {
  19.         $this->active $active;
  20.         return $this;
  21.     }
  22. }