1 | <?php |
||
17 | class DisplayControllerGet extends AbstractController |
||
18 | { |
||
19 | /** |
||
20 | * The cache handler. |
||
21 | * |
||
22 | * @var Cache |
||
23 | * @since 1.0 |
||
24 | */ |
||
25 | private $cache; |
||
26 | |||
27 | /** |
||
28 | * JSON view for displaying the statistics. |
||
29 | * |
||
30 | * @var StatsJsonView |
||
31 | * @since 1.0 |
||
32 | */ |
||
33 | private $view; |
||
34 | |||
35 | /** |
||
36 | * Constructor. |
||
37 | * |
||
38 | * @param StatsJsonView $view JSON view for displaying the statistics. |
||
39 | * @param Cache $cache The cache handler. |
||
40 | * |
||
41 | * @since 1.0 |
||
42 | */ |
||
43 | 1 | public function __construct(StatsJsonView $view, Cache $cache) |
|
48 | |||
49 | /** |
||
50 | * Execute the controller. |
||
51 | * |
||
52 | * @return boolean |
||
53 | * |
||
54 | * @since 1.0 |
||
55 | */ |
||
56 | 2 | public function execute() |
|
92 | } |
||
93 |