
metainfosquestion
By: a guest on
Aug 1st, 2012 | syntax:
PHP | size: 0.64 KB | hits: 13 | expires: Never
<?php
namespace Elephant\Bundle\QuestionsBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Elephant\Bundle\QuestionsBundle\Entity\MetaInformationsQuestion
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Elephant\Bundle\QuestionsBundle\Entity\MetaInformationsQuestionRepository")
*/
class MetaInformationsQuestion
{
/**
* @ORM\ManyToMany(targetEntity="Elephant\Bundle\ThematiquesBundle\Entity\Thematique", inversedBy="metainformationsquestions")
*/
private $thematiques;
public function __construct()
{
$this->thematiques = new \Doctrine\Common\Collections\ArrayCollection();
}