Метод | Описание | |
---|---|---|
deleteLangAction ( $id ) : Response | ||
getLangAction ( integer $id ) : array | Get single Lang. | |
getLangsAction ( |
List all Langs. | |
newLangAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new Lang. | |
patchLangAction ( |
Update existing lang from the submitted data or create a new lang at a specific location. | |
postLangAction ( |
Create a Lang from the submitted data. | |
putLangAction ( |
Update existing Lang from the submitted data or create a new Lang at a specific location. |
Метод | Описание | |
---|---|---|
getOr404 ( mixed $id ) : |
Fetch a Lang or throw an 404 Exception. |
public deleteLangAction ( $id ) : Response | ||
$id | ||
Результат | Response |
public getLangAction ( integer $id ) : array | ||
$id | integer | the Lang id |
Результат | array |
public getLangsAction ( |
||
$request | the request object | |
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
Результат | array |
public newLangAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
Результат | Symfony\Component\Form\FormTypeInterface |
public patchLangAction ( |
||
$request | the request object | |
$id | integer | the lang id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postLangAction ( |
||
$request | the request object | |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putLangAction ( |
||
$request | the request object | |
$id | integer | the Lang id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |