Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class TestController |
||
14 | { |
||
15 | /** |
||
16 | * @var \Zapheus\Renderer\RendererInterface |
||
17 | */ |
||
18 | protected $renderer; |
||
19 | |||
20 | /** |
||
21 | * Initializes the HTTP controller instance. |
||
22 | * |
||
23 | * @param \Zapheus\Renderer\RendererInterface $renderer |
||
24 | */ |
||
25 | 3 | public function __construct(RendererInterface $renderer) |
|
26 | { |
||
27 | 3 | $this->renderer = $renderer; |
|
28 | 3 | } |
|
29 | |||
30 | /** |
||
31 | * Greets you with a "lorem ipsum" text. |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | 3 | public function greet() |
|
38 | } |
||
39 | } |
||
40 |