You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.6KB

  1. <?php
  2. namespace Lc\SovBundle\Model\Site;
  3. use Lc\SovBundle\Model\User\UserInterface;
  4. interface PageInterface
  5. {
  6. public function getTitle(): ?string;
  7. public function setTitle(string $title);
  8. public function getDescription(): ?string;
  9. public function setDescription(?string $description);
  10. public function getCreatedBy(): ?UserInterface;
  11. public function setCreatedBy(?UserInterface $createdBy);
  12. public function getUpdatedBy(): ?UserInterface;
  13. public function setUpdatedBy(?UserInterface $updatedBy);
  14. public function getDevAlias(): ?string;
  15. public function setDevAlias(?string $devAlias);
  16. public function getMetaTitle(): ?string;
  17. public function setMetaTitle(?string $metaTitle);
  18. public function getMetaDescription(): ?string;
  19. public function setMetaDescription(?string $metaDescription);
  20. public function setOldUrls($oldUrls);
  21. public function getOldUrls(): ?array;
  22. public function getSlug(): ?string;
  23. public function setSlug(?string $slug);
  24. /**
  25. * @return float
  26. */
  27. public function getPosition(): float;
  28. /**
  29. * @param float $position
  30. * @return $this
  31. */
  32. public function setPosition(float $position);
  33. public function clearPosition();
  34. public function getStatus(): ?float;
  35. public function setStatus(float $status);
  36. public function getCreatedAt(): ?\DateTimeInterface;
  37. public function setCreatedAt(\DateTimeInterface $createdAt);
  38. public function getUpdatedAt(): ?\DateTimeInterface;
  39. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  40. }