type = $type; $this->ipa = $ipa; $this->filename = $filename; $this->terms = new \Doctrine\Common\Collections\ArrayCollection(); } /** * @ORM\ManyToMany(targetEntity="Term", mappedBy="pronunciations") */ private $terms; /** * @ORM\ManyToOne(targetEntity="PronunciationType", inversedBy="pronunciations") */ protected $type; /** * @ORM\Column(type="string",nullable=true) */ protected $ipa; /** * @ORM\Column(type="string", nullable=true) */ protected $filename; } ?>