12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace Sluggable\Fixture\MappedSuperclass;
- use Doctrine\ORM\Mapping as ORM;
- use Gedmo\Mapping\Annotation as Gedmo;
- /**
- * @ORM\Entity
- */
- class Car extends Vehicle
- {
- /**
- * @ORM\Id
- * @ORM\GeneratedValue
- * @ORM\Column(type="integer")
- */
- private $id;
- /**
- * @ORM\Column(length=128)
- */
- private $description;
- public function setDescription($description)
- {
- $this->description = $description;
- }
- public function getDescription()
- {
- return $this->description;
- }
- }
|