PHP Interface Sonata\Component\Generator\ReferenceInterface

Show file Open project: sonata-project/ecommerce Interface Usage Examples

Public Methods

Method Description
invoice ( Sonata\Component\Invoice\InvoiceInterface $invoice ) Append a valid reference number to the invoice, the order must be persisted first.
order ( Sonata\Component\Order\OrderInterface $order ) Append a valid reference number to the order, the order must be persisted first.

Method Details

invoice() public method

Append a valid reference number to the invoice, the order must be persisted first.
public invoice ( Sonata\Component\Invoice\InvoiceInterface $invoice )
$invoice Sonata\Component\Invoice\InvoiceInterface

order() public method

Append a valid reference number to the order, the order must be persisted first.
public order ( Sonata\Component\Order\OrderInterface $order )
$order Sonata\Component\Order\OrderInterface