Bus.php 497 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Sluggable\Fixture\Issue104;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. /**
  6. * @ORM\MappedSuperclass
  7. */
  8. class Bus
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(length=128)
  18. */
  19. private $title;
  20. public function setTitle($title)
  21. {
  22. $this->title = $title;
  23. }
  24. public function getTitle()
  25. {
  26. return $this->title;
  27. }
  28. }