| Total Complexity | 10 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 9 | class GraphConstructor | ||
| 10 | { | ||
| 11 | private array $nodes = []; | ||
| 12 | private array $edges = []; | ||
| 13 | |||
| 14 | public function __construct(private string $name) | ||
| 15 |     { | ||
| 16 | } | ||
| 17 | |||
| 18 | public function addNode(Node $node): void | ||
| 19 |     { | ||
| 20 | $this->nodes[] = $node; | ||
| 21 | } | ||
| 22 | |||
| 23 | public function addEdge(Edge $edge): void | ||
| 24 |     { | ||
| 25 | $this->edges[] = $edge; | ||
| 26 | } | ||
| 27 | |||
| 28 | public function getCommitQuery(): QueryInterface | ||
| 42 | } | ||
| 43 | |||
| 44 | public function getCommitQueryWithMerge(): QueryInterface | ||
| 45 |     { | ||
| 56 |