PHP Interface Sonata\Component\Generator\ReferenceInterface

Afficher le fichier Open project: sonata-project/ecommerce Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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 méthode

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