選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

NewsInterface.php 2.5KB

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