Метод | Описание | |
---|---|---|
deletePeriodAction ( $id ) : Response | ||
getPeriodAction ( integer $id ) : array | Get single Period. | |
getPeriodsAction ( |
List all Periods. | |
newPeriodAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new Period. | |
patchPeriodAction ( |
Update existing period from the submitted data or create a new period at a specific location. | |
postPeriodAction ( |
Create a Period from the submitted data. | |
putPeriodAction ( |
Update existing Period from the submitted data or create a new Period at a specific location. |
Метод | Описание | |
---|---|---|
getOr404 ( mixed $id ) : |
Fetch a Period or throw an 404 Exception. |
public deletePeriodAction ( $id ) : Response | ||
$id | ||
Результат | Response |
public getPeriodAction ( integer $id ) : array | ||
$id | integer | the Period id |
Результат | array |
public getPeriodsAction ( |
||
$request | the request object | |
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
Результат | array |
public newPeriodAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
Результат | Symfony\Component\Form\FormTypeInterface |
public patchPeriodAction ( |
||
$request | the request object | |
$id | integer | the period id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postPeriodAction ( |
||
$request | the request object | |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putPeriodAction ( |
||
$request | the request object | |
$id | integer | the Period id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |