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; /** * Get the value of filename */ public function getFilename() { return $this->filename; } /** * Get the value of terms */ public function getTerms() { return $this->terms; } /** * Get the value of ipa */ public function getIpa() { return $this->ipa; } /** * Get the value of type */ public function getType() { return $this->type; } } ?>