SupperClassExtension.php 441 B

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