Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

GroupUserInterface.php 1.8KB

3 år sedan
3 år sedan
3 år sedan
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. }