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

FileInterface.php 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. }