Car.php 504 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Sluggable\Fixture\Issue104;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. /**
  6. * @ORM\Entity
  7. */
  8. class Car extends Vehicle
  9. {
  10. /**
  11. * @ORM\Column(length=128)
  12. */
  13. protected $title;
  14. /**
  15. * @ORM\Column(length=128)
  16. */
  17. private $description;
  18. public function setDescription($description)
  19. {
  20. $this->description = $description;
  21. }
  22. public function getDescription()
  23. {
  24. return $this->description;
  25. }
  26. }