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.

55 lines
1.4KB

  1. <?php
  2. namespace Lc\SovBundle\Model\File;
  3. use Lc\SovBundle\Model\User\UserInterface;
  4. interface FileInterface
  5. {
  6. public function getCreatedBy(): ?UserInterface;
  7. public function setCreatedBy(?UserInterface $createdBy): FileInterface;
  8. public function getUpdatedBy(): ?UserInterface;
  9. public function setUpdatedBy(?UserInterface $updatedBy): FileInterface;
  10. public function getDevAlias(): ?string;
  11. public function setDevAlias(?string $devAlias): FileInterface;
  12. public function getPath(): ?string;
  13. public function setPath(?string $path): FileInterface;
  14. public function getLegend(): ?string;
  15. public function setLegend(?string $legend): FileInterface;
  16. /**
  17. * @return float
  18. */
  19. public function getPosition(): float;
  20. /**
  21. * @param float $position
  22. * @return $this
  23. */
  24. public function setPosition(float $position): FileInterface;
  25. public function clearPosition(): FileInterface;
  26. public function getCreatedAt(): ?\DateTimeInterface;
  27. public function setCreatedAt(\DateTimeInterface $createdAt): FileInterface;
  28. public function getUpdatedAt(): ?\DateTimeInterface;
  29. public function setUpdatedAt(\DateTimeInterface $updatedAt): FileInterface;
  30. public function setTranslatableLocale($locale);
  31. public function getLocalesEnabled(): ?array;
  32. public function setLocalesEnabled(?array $localesEnabled): FileInterface;
  33. }