src/Entity/Seo.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SeoRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=SeoRepository::class)
  7. */
  8. class Seo
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="string", length=255, nullable = true)
  18. */
  19. private $title;
  20. /**
  21. * @ORM\Column(type="string", length=512, nullable = true)
  22. */
  23. private $description;
  24. /**
  25. * @ORM\Column(type="string", length=255, nullable = true)
  26. */
  27. private $route;
  28. /**
  29. * @ORM\Column(type="json", nullable=true)
  30. */
  31. private $argument = [];
  32. /**
  33. * @ORM\Column(type="string", length=511, nullable=true)
  34. */
  35. private $path;
  36. public function getId(): ?int
  37. {
  38. return $this->id;
  39. }
  40. public function getTitle(): ?string
  41. {
  42. return $this->title;
  43. }
  44. public function setTitle(?string $title): self
  45. {
  46. $this->title = $title;
  47. return $this;
  48. }
  49. public function getDescription(): ?string
  50. {
  51. return $this->description;
  52. }
  53. public function setDescription(?string $description): self
  54. {
  55. $this->description = $description;
  56. return $this;
  57. }
  58. public function getRoute(): ?string
  59. {
  60. return $this->route;
  61. }
  62. public function setRoute(string $route): self
  63. {
  64. $this->route = $route;
  65. return $this;
  66. }
  67. public function getArgument(): ?array
  68. {
  69. return $this->argument;
  70. }
  71. public function setArgument(?array $argument): self
  72. {
  73. $this->argument = $argument;
  74. return $this;
  75. }
  76. public function getPath(): ?string
  77. {
  78. return $this->path;
  79. }
  80. public function setPath(?string $path): self
  81. {
  82. $this->path = $path;
  83. return $this;
  84. }
  85. }