Example #1
0
 public function setProduct(Product $v = null)
 {
     if ($v === null) {
         $this->setId(NULL);
     } else {
         $this->setId($v->getId());
     }
     $this->aProduct = $v;
     if ($v !== null) {
         $v->addProductI18n($this);
     }
     return $this;
 }