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.

79 lines
1.8KB

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