| 1 | <?php |
||
| 22 | class TaskController extends Controller |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * List |
||
| 26 | * |
||
| 27 | * @param Query $taskQuery Task Query |
||
| 28 | * |
||
| 29 | * @Route("/list") |
||
| 30 | * @Method({"GET"}) |
||
| 31 | * @Template() |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function listAction( |
||
| 43 | |||
| 44 | /** |
||
| 45 | * CreateAction |
||
| 46 | * |
||
| 47 | * @Route("/create") |
||
| 48 | * @Method({"GET"}) |
||
| 49 | * |
||
| 50 | * @return array |
||
| 51 | */ |
||
| 52 | public function createAction() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * UpdateStatusAction |
||
| 59 | * |
||
| 60 | * @Route("/updateStatus") |
||
| 61 | * @Method({"GET"}) |
||
| 62 | * |
||
| 63 | * @return array |
||
| 64 | */ |
||
| 65 | public function updateStatusAction() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * UpdateAction |
||
| 72 | * |
||
| 73 | * @Route("/update") |
||
| 74 | * @Method({"GET"}) |
||
| 75 | * |
||
| 76 | * @return array |
||
| 77 | */ |
||
| 78 | public function updateAction() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * DeleteAction |
||
| 85 | * |
||
| 86 | * @Route("/delete") |
||
| 87 | * @Method({"GET"}) |
||
| 88 | * |
||
| 89 | * @return array |
||
| 90 | */ |
||
| 91 | public function deleteAction() |
||
| 95 | |||
| 96 | /** |
||
| 97 | * CleanAction |
||
| 98 | * |
||
| 99 | * @Route("/clean") |
||
| 100 | * @Method({"GET"}) |
||
| 101 | * |
||
| 102 | * @return array |
||
| 103 | */ |
||
| 104 | public function cleanAction() |
||
| 108 | |||
| 109 | } |
||
| 110 |