@@ -31,11 +31,11 @@ |
||
| 31 | 31 | * @param array $args Associative list of route parameters |
| 32 | 32 | * @return ResponseInterface $response Modified response object with generated output |
| 33 | 33 | */ |
| 34 | - public static function indexAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args ) |
|
| 34 | + public static function indexAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args) |
|
| 35 | 35 | { |
| 36 | - $contents = $container->get( 'shop' )->get( 'basket-index', $request, $response, $args ); |
|
| 37 | - $response = $container->get( 'view' )->render( $response, 'Basket/index.html.twig', $contents ); |
|
| 36 | + $contents = $container->get('shop')->get('basket-index', $request, $response, $args); |
|
| 37 | + $response = $container->get('view')->render($response, 'Basket/index.html.twig', $contents); |
|
| 38 | 38 | |
| 39 | - return $response->withHeader( 'Cache-Control', 'no-store' ); |
|
| 39 | + return $response->withHeader('Cache-Control', 'no-store'); |
|
| 40 | 40 | } |
| 41 | 41 | } |
| 42 | 42 | \ No newline at end of file |
@@ -31,12 +31,12 @@ discard block |
||
| 31 | 31 | * @param array $args Associative list of route parameters |
| 32 | 32 | * @return ResponseInterface $response Modified response object with generated output |
| 33 | 33 | */ |
| 34 | - public static function confirmAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args ) |
|
| 34 | + public static function confirmAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args) |
|
| 35 | 35 | { |
| 36 | - $contents = $container->get( 'shop' )->get( 'checkout-confirm', $request, $response, $args ); |
|
| 37 | - $response = $container->get( 'view' )->render( $response, 'Checkout/confirm.html.twig', $contents ); |
|
| 36 | + $contents = $container->get('shop')->get('checkout-confirm', $request, $response, $args); |
|
| 37 | + $response = $container->get('view')->render($response, 'Checkout/confirm.html.twig', $contents); |
|
| 38 | 38 | |
| 39 | - return $response->withHeader( 'Cache-Control', 'no-store' ); |
|
| 39 | + return $response->withHeader('Cache-Control', 'no-store'); |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | |
@@ -49,12 +49,12 @@ discard block |
||
| 49 | 49 | * @param array $args Associative list of route parameters |
| 50 | 50 | * @return ResponseInterface $response Modified response object with generated output |
| 51 | 51 | */ |
| 52 | - public static function indexAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args ) |
|
| 52 | + public static function indexAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args) |
|
| 53 | 53 | { |
| 54 | - $contents = $container->get( 'shop' )->get( 'checkout-index', $request, $response, $args ); |
|
| 55 | - $response = $container->get( 'view' )->render( $response, 'Checkout/index.html.twig', $contents ); |
|
| 54 | + $contents = $container->get('shop')->get('checkout-index', $request, $response, $args); |
|
| 55 | + $response = $container->get('view')->render($response, 'Checkout/index.html.twig', $contents); |
|
| 56 | 56 | |
| 57 | - return $response->withHeader( 'Cache-Control', 'no-store' ); |
|
| 57 | + return $response->withHeader('Cache-Control', 'no-store'); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | |
@@ -67,11 +67,11 @@ discard block |
||
| 67 | 67 | * @param array $args Associative list of route parameters |
| 68 | 68 | * @return ResponseInterface $response Modified response object with generated output |
| 69 | 69 | */ |
| 70 | - public static function updateAction( ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args ) |
|
| 70 | + public static function updateAction(ContainerInterface $container, ServerRequestInterface $request, ResponseInterface $response, array $args) |
|
| 71 | 71 | { |
| 72 | - $contents = $container->get( 'shop' )->get( 'checkout-update', $request, $response, $args ); |
|
| 73 | - $response = $container->get( 'view' )->render( $response, 'Checkout/update.html.twig', $contents ); |
|
| 72 | + $contents = $container->get('shop')->get('checkout-update', $request, $response, $args); |
|
| 73 | + $response = $container->get('view')->render($response, 'Checkout/update.html.twig', $contents); |
|
| 74 | 74 | |
| 75 | - return $response->withHeader( 'Cache-Control', 'no-store' ); |
|
| 75 | + return $response->withHeader('Cache-Control', 'no-store'); |
|
| 76 | 76 | } |
| 77 | 77 | } |
| 78 | 78 | \ No newline at end of file |