src/Entity/Garages/GarageSearchConfig.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Garages;
  3. use App\Entity\AbstractBase;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Table(name="vulco_config_garage_search")
  7.  * @ORM\Entity(repositoryClass=GarageSearchConfigRepository::class)
  8.  */
  9. class GarageSearchConfig extends AbstractBase
  10. {
  11.     /**
  12.      * @ORM\Column(type="boolean", options={"default": 0})
  13.      */
  14.     private bool $disableWorksWithCollective false;
  15.     public function __construct(bool $disableWorksWithCollective false)
  16.     {
  17.         $this->disableWorksWithCollective $disableWorksWithCollective;
  18.     }
  19.     public function getDisableWorksWithCollective(): bool
  20.     {
  21.         return $this->disableWorksWithCollective;
  22.     }
  23.     public function setDisableWorksWithCollective(bool $disableWorksWithCollective): self
  24.     {
  25.         $this->disableWorksWithCollective $disableWorksWithCollective;
  26.         return $this;
  27.     }
  28. }