Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class Node implements HasDotRepresentation |
||
11 | { |
||
12 | /** @var HasNodeIdentifier */ |
||
13 | private $node; |
||
14 | |||
15 | /** @var string */ |
||
16 | private $options; |
||
17 | |||
18 | public function __construct(HasNodeIdentifier $node, string $htmlLabel) |
||
19 | { |
||
20 | $this->node = $node; |
||
21 | $this->options = $this->buildOptionsUsing($htmlLabel); |
||
22 | } |
||
23 | |||
24 | public function toDotLanguage(): string |
||
27 | } |
||
28 | |||
29 | private function buildOptionsUsing(string $htmlLabel): string |
||
34 |