| Total Complexity | 6 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class AbstractModel |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Logger |
||
| 18 | */ |
||
| 19 | protected $logger; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var OutputInterface |
||
| 23 | */ |
||
| 24 | protected $output; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Logger $logger |
||
| 28 | */ |
||
| 29 | public function __construct( |
||
| 30 | Logger $logger |
||
| 31 | ) { |
||
| 32 | $this->logger = $logger; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Output. |
||
| 37 | * |
||
| 38 | * @param OutputInterface $output |
||
| 39 | * |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | public function setOutput(OutputInterface $output) |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Console Write. |
||
| 49 | * |
||
| 50 | * @param string $text |
||
| 51 | * |
||
| 52 | * @return void |
||
| 53 | */ |
||
| 54 | protected function write(string $text) |
||
| 58 | } |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Console WriteLn. |
||
| 63 | * |
||
| 64 | * @param string $text |
||
| 65 | * |
||
| 66 | * @return void |
||
| 67 | */ |
||
| 68 | protected function writeln($text) |
||
| 75 |