PHP Класс Sonata\InvoiceBundle\Controller\Api\InvoiceController

Автор: Hugo Briand ([email protected])
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$invoiceManager Sonata\Component\Invoice\InvoiceManagerInterface

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
getInvoice ( $id ) : Sonata\Component\Invoice\InvoiceInterface Retrieves invoice with id $id or throws an exception if it doesn't exist.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Sonata\Component\Invoice\InvoiceManagerInterface $invoiceManager )
$invoiceManager Sonata\Component\Invoice\InvoiceManagerInterface

getInvoice() защищенный Метод

Retrieves invoice with id $id or throws an exception if it doesn't exist.
protected getInvoice ( $id ) : Sonata\Component\Invoice\InvoiceInterface
$id
Результат Sonata\Component\Invoice\InvoiceInterface

getInvoiceAction() публичный Метод

Retrieves a specific invoice.
public getInvoiceAction ( $id ) : Sonata\Component\Invoice\InvoiceInterface
$id
Результат Sonata\Component\Invoice\InvoiceInterface

getInvoiceInvoiceelementsAction() публичный Метод

Retrieves a specific invoice's elements.
public getInvoiceInvoiceelementsAction ( $id ) : Sonata\Component\Invoice\InvoiceElementInterface
$id
Результат Sonata\Component\Invoice\InvoiceElementInterface

getInvoicesAction() публичный Метод

Returns a paginated list of invoices.
public getInvoicesAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : Sonata\DatagridBundle\Pager\PagerInterface
$paramFetcher FOS\RestBundle\Request\ParamFetcherInterface
Результат Sonata\DatagridBundle\Pager\PagerInterface

Описание свойств

$invoiceManager защищенное свойство

protected InvoiceManagerInterface,Sonata\Component\Invoice $invoiceManager
Результат Sonata\Component\Invoice\InvoiceManagerInterface