deletePostAction()
public méthode
getPostAction()
public méthode
getPostsAction()
public méthode
public getPostsAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array |
$request |
Symfony\Component\HttpFoundation\Request |
the request object |
$paramFetcher |
FOS\RestBundle\Request\ParamFetcherInterface |
param fetcher service |
Résultat |
array |
|
newPostAction()
public méthode
Presents the form to use to create a new Post.
public newPostAction ( ) : Symfony\Component\Form\FormTypeInterface |
Résultat |
Symfony\Component\Form\FormTypeInterface |
|
patchPostAction()
public méthode
Update existing post from the submitted data or create a new post at a specific location.
public patchPostAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
$request |
Symfony\Component\HttpFoundation\Request |
the request object |
$id |
integer |
the post id |
Résultat |
Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
|
postPostAction()
public méthode
Create a Post from the submitted data.
public postPostAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
$request |
Symfony\Component\HttpFoundation\Request |
the request object |
Résultat |
Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
|
putPostAction()
public méthode
Update existing Post from the submitted data or create a new Post at a specific location.
public putPostAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
$request |
Symfony\Component\HttpFoundation\Request |
the request object |
$id |
integer |
the Post id |
Résultat |
Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
|