Пример #1
0
 /**
  * Constructor
  *
  * @param array $data Entity properties OPTIONAL
  *
  * @return void
  */
 public function __construct(array $data = array())
 {
     $this->variants = new \Doctrine\Common\Collections\ArrayCollection();
     parent::__construct($data);
 }