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.

пре 3 година
пре 3 година
пре 2 година
пре 3 година
пре 3 година
пре 3 година
пре 2 година
пре 3 година
пре 2 година
пре 3 година
пре 2 година
пре 3 година
пре 3 година
пре 3 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. namespace Lc\SovBundle\Model\Site;
  3. use Lc\SovBundle\Doctrine\Extension\OpenGraphInterface;
  4. use Lc\SovBundle\Model\File\FileInterface;
  5. use Lc\SovBundle\Model\File\FileModel;
  6. use Lc\SovBundle\Model\Newsletter\NewsletterInterface;
  7. use Lc\SovBundle\Model\User\UserInterface;
  8. interface NewsInterface
  9. {
  10. public function getTitle(): ?string;
  11. public function setTitle(string $title);
  12. public function getDescription(): ?string;
  13. public function setDescription(?string $description);
  14. public function getCreatedBy(): ?UserInterface;
  15. public function setCreatedBy(?UserInterface $createdBy);
  16. public function getUpdatedBy(): ?UserInterface;
  17. public function setUpdatedBy(?UserInterface $updatedBy);
  18. public function getDevAlias(): ?string;
  19. public function setDevAlias(?string $devAlias);
  20. public function getDate(): ?\DateTimeInterface;
  21. public function setDate(\DateTimeInterface $date): NewsInterface;
  22. public function getIsSent(): ?bool;
  23. public function setIsSent(?bool $isSent): NewsInterface;
  24. public function getImage(): ?FileInterface;
  25. public function setImage(?FileInterface $image): NewsInterface;
  26. public function getNewsletter(): ?NewsletterInterface;
  27. public function setNewsletter(?NewsletterInterface $newsletter): NewsInterface;
  28. public function getOpenGraphTitle(): ?string;
  29. public function setOpenGraphTitle(string $openGraphTitle): OpenGraphInterface;
  30. public function getOpenGraphDescription(): ?string;
  31. public function setOpenGraphDescription(?string $openGraphDescription): OpenGraphInterface;
  32. public function getOpenGraphImage(): ?FileInterface;
  33. public function setOpenGraphImage(?FileInterface $openGraphImage): OpenGraphInterface;
  34. public function setMetaTitle(?string $metaTitle);
  35. public function getMetaDescription(): ?string;
  36. public function setMetaDescription(?string $metaDescription);
  37. public function setOldUrls($oldUrls);
  38. public function getOldUrls(): ?array;
  39. public function getSlug(): ?string;
  40. public function setSlug(?string $slug);
  41. /**
  42. * @return float
  43. */
  44. public function getPosition(): float;
  45. /**
  46. * @param float $position
  47. * @return $this
  48. */
  49. public function setPosition(float $position);
  50. public function clearPosition();
  51. public function getStatus(): ?float;
  52. public function setStatus(float $status);
  53. public function getCreatedAt(): ?\DateTimeInterface;
  54. public function setCreatedAt(\DateTimeInterface $createdAt);
  55. public function getUpdatedAt(): ?\DateTimeInterface;
  56. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  57. }