Свойство | Type | Description | |
---|---|---|---|
$invoiceManager | Sonata\Component\Invoice\InvoiceManagerInterface |
Méthode | Description | |
---|---|---|
__construct ( Sonata\Component\Invoice\InvoiceManagerInterface $invoiceManager ) | Constructor. | |
getInvoiceAction ( $id ) : Sonata\Component\Invoice\InvoiceInterface | Retrieves a specific invoice. | |
getInvoiceInvoiceelementsAction ( $id ) : Sonata\Component\Invoice\InvoiceElementInterface | Retrieves a specific invoice's elements. | |
getInvoicesAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : Sonata\DatagridBundle\Pager\PagerInterface | Returns a paginated list of invoices. |
Méthode | Description | |
---|---|---|
getInvoice ( $id ) : Sonata\Component\Invoice\InvoiceInterface | Retrieves invoice with id $id or throws an exception if it doesn't exist. |
public __construct ( Sonata\Component\Invoice\InvoiceManagerInterface $invoiceManager ) | ||
$invoiceManager | Sonata\Component\Invoice\InvoiceManagerInterface |
protected getInvoice ( $id ) : Sonata\Component\Invoice\InvoiceInterface | ||
$id | ||
Résultat | Sonata\Component\Invoice\InvoiceInterface |
public getInvoiceAction ( $id ) : Sonata\Component\Invoice\InvoiceInterface | ||
$id | ||
Résultat | Sonata\Component\Invoice\InvoiceInterface |
public getInvoiceInvoiceelementsAction ( $id ) : Sonata\Component\Invoice\InvoiceElementInterface | ||
$id | ||
Résultat | Sonata\Component\Invoice\InvoiceElementInterface |
public getInvoicesAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : Sonata\DatagridBundle\Pager\PagerInterface | ||
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | |
Résultat | Sonata\DatagridBundle\Pager\PagerInterface |