Car.php 398 B

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