| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class AentHelper |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var InputInterface |
||
| 19 | */ |
||
| 20 | private $input; |
||
| 21 | /** |
||
| 22 | * @var OutputInterface |
||
| 23 | */ |
||
| 24 | private $output; |
||
| 25 | /** |
||
| 26 | * @var QuestionHelper |
||
| 27 | */ |
||
| 28 | private $questionHelper; |
||
| 29 | /** |
||
| 30 | * @var FormatterHelper |
||
| 31 | */ |
||
| 32 | private $formatterHelper; |
||
| 33 | |||
| 34 | public function __construct(InputInterface $input, OutputInterface $output, QuestionHelper $questionHelper, FormatterHelper $formatterHelper) |
||
| 35 | { |
||
| 36 | |||
| 37 | $this->input = $input; |
||
| 38 | $this->output = $output; |
||
| 39 | $this->questionHelper = $questionHelper; |
||
| 40 | $this->formatterHelper = $formatterHelper; |
||
| 41 | } |
||
| 42 | |||
| 43 | private function registerStyle(): void |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Displays text in a big block |
||
| 51 | */ |
||
| 52 | public function title(string $title): void |
||
| 53 | { |
||
| 54 | $this->registerStyle(); |
||
| 55 | $this->formatterHelper->formatBlock($title, 'title', true); |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Displays text in a small block |
||
| 60 | */ |
||
| 61 | public function subTitle(string $title): void |
||
| 65 | } |
||
| 66 | } |
||
| 67 |