src/Entity/SiteConfigMeta.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SiteConfigMetaRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=SiteConfigMetaRepository::class)
  7.  */
  8. class SiteConfigMeta
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.       /**
  21.      * @ORM\Column(type="string", length=100, nullable=true, options={"default": "author"})
  22.      */
  23.     private $author;
  24.     /**
  25.      * @ORM\Column(type="string", length=100, nullable=true, options={"default": "description"})
  26.      */
  27.     private $description;
  28.     public function getAuthor(): ?string
  29.     {
  30.         return $this->author;
  31.     }
  32.     public function setAuthor(?string $author): self
  33.     {
  34.         $this->author $author;
  35.         return $this;
  36.     }
  37.     public function getDescription(): ?string
  38.     {
  39.         return $this->description;
  40.     }
  41.     public function setdescription(?string $description): self
  42.     {
  43.         $this->description $description;
  44.         return $this;
  45.     }
  46. }