1 | <?php |
||
12 | class GraphWriter |
||
13 | { |
||
14 | /** @var OutputInterface */ |
||
15 | private $output; |
||
16 | |||
17 | public function __construct(OutputInterface $output) |
||
21 | |||
22 | /** |
||
23 | * @param string[] $nodes |
||
24 | */ |
||
25 | public function drawGraphCycle(array $nodes) |
||
53 | |||
54 | /** |
||
55 | * @param string $node |
||
56 | */ |
||
57 | private function drawNode($node) |
||
61 | |||
62 | /** |
||
63 | * @param string $line |
||
64 | * @param bool $newLine |
||
65 | */ |
||
66 | private function drawLine($line, $newLine = true) |
||
77 | } |
||
78 |