| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class OutputService implements OutputServiceInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Constructor |
||
| 22 | */ |
||
| 23 | public function __construct() |
||
| 24 | { |
||
| 25 | // display information |
||
| 26 | echo 'OutputService created' . PHP_EOL; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Display output string |
||
| 31 | * |
||
| 32 | * @param string $output String to display |
||
| 33 | * @see \Kocuj\Di\Examples\Example1\Lib\OutputServiceInterface::displayOutput() |
||
| 34 | */ |
||
| 35 | public function displayOutput(string $output) |
||
| 41 | } |
||
| 42 | } |
||
| 43 |