Child.php 473 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace SoftDeleteable\Fixture\Entity;
  3. use Gedmo\Mapping\Annotation as Gedmo;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. /**
  7. * @ORM\Entity
  8. */
  9. class Child extends MappedSuperclass
  10. {
  11. /**
  12. * @ORM\Column(name="title", type="string")
  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. }