Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *
- * @ORM\ManyToMany(targetEntity="Candidate", inversedBy="invitations")
- * @ORM\JoinColumns({
- * @ORM\JoinColumn(name="candidate_id", referencedColumnName="id")
- * })
- */
- private $candidate;
- /**
- * Add candidate.
- *
- * @param \AppBundle\Entity\Candidate $candidate
- *
- * @return Invitation
- */
- public function addCandidate(\AppBundle\Entity\Candidate $candidate)
- {
- $this->candidate[] = $candidate;
- return $this;
- }
- /**
- * Remove candidate.
- *
- * @param \AppBundle\Entity\Candidate $candidate
- */
- public function removeCandidate(\AppBundle\Entity\Candidate $candidate)
- {
- $this->candidate->removeElement($candidate);
- }
- /**
- * Get offerSkill.
- *
- * @return \Doctrine\Common\Collections\Collection
- */
- public function getCandidate()
- {
- return $this->candidate;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement