src/Entity/Configuration.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ConfigurationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\UX\Turbo\Attribute\Broadcast;
  6. #[ORM\Entity(repositoryClassConfigurationRepository::class)]
  7. #[Broadcast]
  8. class Configuration
  9. {
  10.     use IdentifiableTrait;
  11.     #[ORM\Column(length255)]
  12.     private ?string $name null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $value null;
  15.     public function getId(): ?int
  16.     {
  17.         return $this->id;
  18.     }
  19.     public function getName(): ?string
  20.     {
  21.         return $this->name;
  22.     }
  23.     public function setName(string $name): self
  24.     {
  25.         $this->name $name;
  26.         return $this;
  27.     }
  28.     public function getValue(): ?string
  29.     {
  30.         return $this->value;
  31.     }
  32.     public function setValue(?string $value): self
  33.     {
  34.         $this->value $value;
  35.         return $this;
  36.     }
  37. }