Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
20 | final class InterfaceGraphBuilder |
||
21 | { |
||
22 | /** |
||
23 | * The order in which the nodes and edges are created is as follows |
||
24 | * |
||
25 | * 1. The node representing the interface itself |
||
26 | * 2. The parent interface, if any |
||
27 | * |
||
28 | * @return HasDotRepresentation[] |
||
29 | */ |
||
30 | 13 | public function extractFrom(InterfaceDefinition $interface, Codebase $codebase): array |
|
43 |