1 | <?php |
||
17 | class CustomersController extends AbstractController |
||
18 | { |
||
19 | /** |
||
20 | * @Route("/", name="list", methods={"GET"}) |
||
21 | * |
||
22 | * @return Response |
||
23 | */ |
||
24 | public function listCustomers() |
||
31 | |||
32 | /** |
||
33 | * @Route("/", name="create", methods={"POST"}) |
||
34 | * |
||
35 | * @return Response |
||
36 | */ |
||
37 | public function createCustomer() |
||
49 | |||
50 | /** |
||
51 | * @Route("/{customerId}/token", name="get-cutomer-token", methods={"GET"}) |
||
52 | * |
||
53 | * @param string $customerId |
||
54 | * @return Response |
||
55 | */ |
||
56 | public function getCustomerToken(string $customerId) |
||
62 | } |
||
63 |