| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public static function indexAction( ContainerInterface $container, ServerRequestInterface $request, |
||
| 35 | ResponseInterface $response, array $args ) : ResponseInterface |
||
| 36 | { |
||
| 37 | $contents = $container->get( 'shop' )->get( 'basket-index', $request, $response, $args ); |
||
| 38 | $response = $container->get( 'view' )->render( $response, 'Basket/index.html.twig', $contents ); |
||
| 39 | |||
| 40 | return $response->withHeader( 'Cache-Control', 'no-store' ); |
||
| 41 | } |
||
| 42 | } |