Image.php 405 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Translatable\Fixture;
  3. use Gedmo\Mapping\Annotation as Gedmo;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity
  7. */
  8. class Image extends File
  9. {
  10. /**
  11. * @Gedmo\Translatable
  12. * @ORM\Column(length=128)
  13. */
  14. private $mime;
  15. public function setMime($mime)
  16. {
  17. $this->mime = $mime;
  18. }
  19. public function getMime()
  20. {
  21. return $this->mime;
  22. }
  23. }