Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
50.00% |
1 / 2 |
CRAP | |
33.33% |
1 / 3 |
| AHttpController | |
0.00% |
0 / 1 |
|
66.67% |
2 / 3 |
5.67 | |
33.33% |
1 / 3 |
| __construct | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| start | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| run | |
100.00% |
1 / 1 |
1 | ||||||
| <?php | |
| namespace Tools; | |
| abstract class AHttpController extends AController | |
| { | |
| public function __construct($context, $params) | |
| { parent::__construct($context, $params); } | |
| public function start() | |
| { | |
| //TODO call some hooks | |
| $this->run(); | |
| //TODO calls some hooks | |
| } | |
| public abstract function run(); | |
| } | |