| Code Coverage
| Classes and Traits | Functions and Methods | Lines
Total | 0.00% covered (danger) | 0.00% | 0 / 1 | 50.00% covered (danger) | 50.00% | 1 / 2 | CRAP | 33.33% covered (danger) | 33.33% | 1 / 3
AHttpController | 0.00% covered (danger) | 0.00% | 0 / 1 | 66.67% covered (warning) | 66.67% | 2 / 3 | 5.67 | 33.33% covered (danger) | 33.33% | 1 / 3
__construct | 100.00% covered (success) | 100.00% | 1 / 1 | 1 | 100.00% covered (success) | 100.00% | 1 / 1
start | 0.00% covered (danger) | 0.00% | 0 / 1 | 2 | 0.00% covered (danger) | 0.00% | 0 / 2
run | 100.00% covered (success) | 100.00% | 1 / 1 | 1 |  |  |

1 | <?php
2 |
3 | namespace Tools;
4 |
5 | abstract class AHttpController extends AController
6 | {
7 | public function __construct($context, $params)
8 | { parent::__construct($context, $params); }
9 |
10 | public function start()
11 | {
12 | //TODO call some hooks
13 | $this->run();
14 | //TODO calls some hooks
15 | }
16 |
17 | public abstract function run();
18 | }
19 |