Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class EntityArrow implements EntityInterface |
||
8 | { |
||
9 | private const PARENT_NAME = 0; |
||
10 | private const CHILDREN_NAME = 1; |
||
11 | private const RELATION_NAME = 2; |
||
12 | private const NODE = 3; |
||
13 | |||
14 | private const BLOCK = '%s %s %s : %s'; |
||
15 | |||
16 | private array $arrows = []; |
||
17 | |||
18 | public function addArrow(string $parent, string $children, string $relation, string $node): void |
||
21 | } |
||
22 | |||
23 | public function __toString(): string |
||
40 |