Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace Lc\PietroBundle\Model;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Lc\PietroBundle\Doctrine\Extension\DescriptionProjectInterface;
  5. use Lc\PietroBundle\Doctrine\Extension\DescriptionProjectTrait;
  6. /**
  7. * @ORM\MappedSuperclass()
  8. */
  9. abstract class Revolt implements DescriptionProjectInterface, RevoltInterface
  10. {
  11. use DescriptionProjectTrait;
  12. /**
  13. * @ORM\ManyToOne(targetEntity="Lc\PietroBundle\Model\IndividualDataInterface", inversedBy="revolt")
  14. */
  15. private $individualData;
  16. public function __toString()
  17. {
  18. return "Nos révoltes";
  19. }
  20. public function getIndividualData(): ?IndividualDataInterface
  21. {
  22. return $this->individualData;
  23. }
  24. public function setIndividualData(?IndividualDataInterface $individualData): self
  25. {
  26. $this->individualData = $individualData;
  27. return $this;
  28. }
  29. }