| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class plNode implements plHasDotRepresentation |
||
| 9 | { |
||
| 10 | /** @var plHasNodeIdentifier */ |
||
| 11 | private $node; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | private $options; |
||
| 15 | |||
| 16 | public function __construct(plHasNodeIdentifier $node, string $htmlLabel) |
||
| 17 | { |
||
| 18 | $this->node = $node; |
||
| 19 | $this->options = $this->buildOptionsUsing($htmlLabel); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function toDotLanguage(): string |
||
| 25 | } |
||
| 26 | |||
| 27 | private function buildOptionsUsing(string $htmlLabel): string |
||
| 30 | } |
||
| 31 | } |
||
| 32 |