Beispiel #1
0
 /**
  * Add purchase
  *
  * @param \AppBundle\Entity\Purchase\Purchase $purchase
  * @return NfcTag
  */
 public function addPurchase(\AppBundle\Entity\Purchase\Purchase $purchase)
 {
     $purchase->setNfcTag($this);
     $this->purchases[] = $purchase;
     return $this;
 }