Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
Reset | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
readResponse | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | /** |
4 | * |
5 | * @package Zmsticketprinter |
6 | * @copyright BerlinOnline Stadtportal GmbH & Co. KG |
7 | * |
8 | */ |
9 | |
10 | namespace BO\Zmsticketprinter; |
11 | |
12 | use BO\Slim\Render; |
13 | use BO\Zmsclient\Ticketprinter; |
14 | use Psr\Http\Message\RequestInterface; |
15 | use Psr\Http\Message\ResponseInterface; |
16 | |
17 | class Reset extends BaseController |
18 | { |
19 | /** |
20 | * @SuppressWarnings(UnusedFormalParameter) |
21 | * @return ResponseInterface |
22 | */ |
23 | public function readResponse( |
24 | RequestInterface $request, |
25 | ResponseInterface $response, |
26 | array $args |
27 | ) { |
28 | Ticketprinter::setHash("", $request); |
29 | |
30 | return Render::withHtml( |
31 | $response, |
32 | 'page/reset.twig', |
33 | array( |
34 | 'debug' => \App::DEBUG, |
35 | 'title' => 'Standort neusetzen' |
36 | ) |
37 | ); |
38 | } |
39 | } |