deletePostAction()
공개 메소드
Presents the form to use to create a new Post.
public newPostAction ( ) : Symfony\Component\Form\FormTypeInterface |
리턴 |
Symfony\Component\Form\FormTypeInterface |
|
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 |
리턴 |
Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
|
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 |
리턴 |
Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
|
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 |
리턴 |
Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
|