| Total Complexity | 3 | 
| Total Lines | 35 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | class GreetController  | 
            ||
| 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 | 6 | public function __construct(RendererInterface $renderer)  | 
            |
| 26 |     { | 
            ||
| 27 | 6 | $this->renderer = $renderer;  | 
            |
| 28 | 6 | }  | 
            |
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * Greets a specified name.  | 
            ||
| 32 | *  | 
            ||
| 33 | * @return string  | 
            ||
| 34 | */  | 
            ||
| 35 | 6 | public function greet($name = 'Stranger')  | 
            |
| 38 | }  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * Shouts the specified name.  | 
            ||
| 42 | *  | 
            ||
| 43 | * @return string  | 
            ||
| 44 | */  | 
            ||
| 45 | 3 | public function scream()  | 
            |
| 50 |