Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

NewsletterInterface.php 2.0KB

il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?php
  2. namespace Lc\SovBundle\Model\Newsletter;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\SovBundle\Model\User\UserInterface;
  5. interface NewsletterInterface
  6. {
  7. public function getTitle(): ?string;
  8. public function setTitle(string $title);
  9. public function getDescription(): ?string;
  10. public function setDescription(?string $description);
  11. public function getCreatedBy(): ?UserInterface;
  12. public function setCreatedBy(?UserInterface $createdBy);
  13. public function getUpdatedBy(): ?UserInterface;
  14. public function setUpdatedBy(?UserInterface $updatedBy);
  15. public function getDevAlias(): ?string;
  16. public function setDevAlias(?string $devAlias);
  17. /**
  18. * @return Collection|UserInterface[]
  19. */
  20. public function getUsers(): Collection;
  21. public function addUser(UserInterface $user): NewsletterInterface;
  22. public function removeUser(UserInterface $user): NewsletterInterface;
  23. public function getIsMain(): ?bool;
  24. public function setIsMain(?bool $isMain): NewsletterInterface;
  25. public function getMetaTitle(): ?string;
  26. public function setMetaTitle(?string $metaTitle);
  27. public function getMetaDescription(): ?string;
  28. public function setMetaDescription(?string $metaDescription);
  29. public function setOldUrls($oldUrls);
  30. public function getOldUrls(): ?array;
  31. public function getSlug(): ?string;
  32. public function setSlug(?string $slug);
  33. /**
  34. * @return float
  35. */
  36. public function getPosition(): float;
  37. /**
  38. * @param float $position
  39. * @return $this
  40. */
  41. public function setPosition(float $position);
  42. public function clearPosition();
  43. public function getStatus(): ?float;
  44. public function setStatus(float $status);
  45. public function getCreatedAt(): ?\DateTimeInterface;
  46. public function setCreatedAt(\DateTimeInterface $createdAt);
  47. public function getUpdatedAt(): ?\DateTimeInterface;
  48. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  49. }