Method | Description | |
---|---|---|
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 |
return |
public editTodosAction ( integer $id ) : |
||
$id | integer | the todo id |
return |
public getTodoAction ( integer $id ) : |
||
$id | integer | the todo id |
return |
public newTodoAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
return | Symfony\Component\Form\FormTypeInterface |
public postTodosAction ( |
||
$request | the request object | |
return | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\View\RouteRedirectView |
public putTodosAction ( |
||
$request | the request object | |
$id | integer | the todo id |
return |
public removeTodosAction ( integer $id ) : |
||
$id | integer | the todo id |
return |