메소드 | 설명 | |
---|---|---|
deleteTodosAction ( integer $id ) : |
Removes a todo. | |
editTodosAction ( integer $id ) : |
Presents the form to use to update an existing todo. | |
getTodoAction ( integer $id ) : |
Get a single todo. | |
getTodosAction ( ) | List all todos. | |
newTodoAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new todo. | |
postTodosAction ( |
Creates a new todo from the submitted data. | |
putTodosAction ( |
Update existing todo from the submitted data or create a new todo at a specific location. | |
removeTodosAction ( integer $id ) : |
Removes a todo. |
public deleteTodosAction ( integer $id ) : |
||
$id | integer | the todo id |
리턴 |
public editTodosAction ( integer $id ) : |
||
$id | integer | the todo id |
리턴 |
public getTodoAction ( integer $id ) : |
||
$id | integer | the todo id |
리턴 |
public newTodoAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
리턴 | Symfony\Component\Form\FormTypeInterface |
public postTodosAction ( |
||
$request | the request object | |
리턴 | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\View\RouteRedirectView |
public putTodosAction ( |
||
$request | the request object | |
$id | integer | the todo id |
리턴 |
public removeTodosAction ( integer $id ) : |
||
$id | integer | the todo id |
리턴 |