Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class InterfaceGraphBuilder |
||
21 | { |
||
22 | /** @var NodeLabelBuilder */ |
||
23 | private $labelBuilder; |
||
24 | |||
25 | public function __construct(NodeLabelBuilder $labelBuilder) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * The order in which the nodes and edges are created is as follows |
||
32 | * |
||
33 | * 1. The node representing the interface itself |
||
34 | * 2. The parent interface, if any |
||
35 | * |
||
36 | * @return \PhUml\Graphviz\HasDotRepresentation[] |
||
37 | */ |
||
38 | public function extractFrom(InterfaceDefinition $interface): array |
||
51 |