Метод | Описание | |
---|---|---|
deleteInstitutionAction ( $id ) : Response | ||
getInstitutionAction ( integer $id ) : array | Get single Institution. | |
getInstitutionsAction ( |
List all Institutions. | |
newInstitutionAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new Institution. | |
patchInstitutionAction ( |
Update existing institution from the submitted data or create a new institution at a specific location. | |
postInstitutionAction ( |
Create a Institution from the submitted data. | |
putInstitutionAction ( |
Update existing Institution from the submitted data or create a new Institution at a specific location. |
Метод | Описание | |
---|---|---|
getOr404 ( mixed $id ) : |
Fetch a Institution or throw an 404 Exception. |
public deleteInstitutionAction ( $id ) : Response | ||
$id | ||
Результат | Response |
public getInstitutionAction ( integer $id ) : array | ||
$id | integer | the Institution id |
Результат | array |
public getInstitutionsAction ( |
||
$request | the request object | |
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
Результат | array |
public newInstitutionAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
Результат | Symfony\Component\Form\FormTypeInterface |
public patchInstitutionAction ( |
||
$request | the request object | |
$id | integer | the institution id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postInstitutionAction ( |
||
$request | the request object | |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putInstitutionAction ( |
||
$request | the request object | |
$id | integer | the Institution id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |