Common/Model/Notify.php
public function removeInvoice(InvoiceInterface $invoice)
    {
        if ($this->invoices->contains($invoice)) {
            $this->invoices->removeElement($invoice);
        }

        return $this;
    }
public function removeInvoice(InvoiceInterface $invoice)
    {
        if ($this->invoices->contains($invoice)) {
            $this->invoices->removeElement($invoice);
        }

        return $this;
    }
public function removeInvoice ( InvoiceInterface $ invoice ) { if ( $ this -> invoices -> contains ( $ invoice ) ) { $ this -> invoices -> removeElement ( $ invoice ) ; } return $ this ; }
Removes the invoice.

@param InvoiceInterface $invoice

@return Notify
Removes the invoice .