Метод | Описание | |
---|---|---|
deletePublisherAction ( $id ) : Response | ||
getPublisherAction ( integer $id ) : array | Get single Publisher. | |
getPublishersAction ( |
List all Publishers. | |
newPublisherAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new Publisher. | |
patchPublisherAction ( |
Update existing publisher from the submitted data or create a new publisher at a specific location. | |
postPublisherAction ( |
Create a Publisher from the submitted data. | |
putPublisherAction ( |
Update existing Publisher from the submitted data or create a new Publisher at a specific location. |
Метод | Описание | |
---|---|---|
getOr404 ( mixed $id ) : |
Fetch a Publisher or throw an 404 Exception. |
public deletePublisherAction ( $id ) : Response | ||
$id | ||
Результат | Response |
public getPublisherAction ( integer $id ) : array | ||
$id | integer | the Publisher id |
Результат | array |
public getPublishersAction ( |
||
$request | the request object | |
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
Результат | array |
public newPublisherAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
Результат | Symfony\Component\Form\FormTypeInterface |
public patchPublisherAction ( |
||
$request | the request object | |
$id | integer | the publisher id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postPublisherAction ( |
||
$request | the request object | |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putPublisherAction ( |
||
$request | the request object | |
$id | integer | the Publisher id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |