Метод |
Описание |
|
deleteContactAction ( $id ) : Response |
|
|
getContactAction ( integer $id ) : array |
Get single Contact. |
|
getContactsAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array |
List all Contacts. |
|
newContactAction ( ) : Symfony\Component\Form\FormTypeInterface |
Presents the form to use to create a new Contact. |
|
patchContactAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
Update existing contact from the submitted data or create a new contact at a specific location. |
|
postContactAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
Create a Contact from the submitted data. |
|
putContactAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
Update existing Contact from the submitted data or create a new Contact at a specific location. |
|