Метод | Описание | |
---|---|---|
deleteJournalAction ( $id ) : Response | ||
getJournalAction ( integer $id ) : array | Get single Journal. | |
getJournalsAction ( |
List all Journals. | |
newJournalAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new Journal. | |
patchJournalAction ( |
Update existing journal from the submitted data or create a new journal at a specific location. | |
postJournalAction ( |
Create a Journal from the submitted data. | |
putJournalAction ( |
Update existing Journal from the submitted data or create a new Journal at a specific location. |
Метод | Описание | |
---|---|---|
getOr404 ( mixed $id, boolean $normalize = false ) : |
Fetch a Journal or throw an 404 Exception. |
public deleteJournalAction ( $id ) : Response | ||
$id | ||
Результат | Response |
public getJournalAction ( integer $id ) : array | ||
$id | integer | the Journal id |
Результат | array |
public getJournalsAction ( |
||
$request | the request object | |
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
Результат | array |
public newJournalAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
Результат | Symfony\Component\Form\FormTypeInterface |
public patchJournalAction ( |
||
$request | the request object | |
$id | integer | the journal id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postJournalAction ( |
||
$request | the request object | |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putJournalAction ( |
||
$request | the request object | |
$id | integer | the Journal id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |