Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
8 / 8 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
Changelog | |
100.00% |
8 / 8 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
readResponse | |
100.00% |
8 / 8 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | /** |
4 | * @package Zmsstatistic |
5 | * @copyright BerlinOnline Stadtportal GmbH & Co. KG |
6 | **/ |
7 | |
8 | namespace BO\Zmsstatistic; |
9 | |
10 | use BO\Slim\Render; |
11 | use Psr\Http\Message\RequestInterface; |
12 | use Psr\Http\Message\ResponseInterface; |
13 | |
14 | class Changelog extends BaseController |
15 | { |
16 | protected $withAccess = false; |
17 | /** |
18 | * @SuppressWarnings(Param) |
19 | * @return ResponseInterface |
20 | */ |
21 | public function readResponse( |
22 | RequestInterface $request, |
23 | ResponseInterface $response, |
24 | array $args |
25 | ) { |
26 | return Render::withHtml( |
27 | $response, |
28 | 'page/changelog.twig', |
29 | array( |
30 | 'title' => 'Changelog', |
31 | 'menuActive' => 'changelog' |
32 | ) |
33 | ); |
34 | } |
35 | } |