1 | <?php |
||
16 | class Relation extends Entity { |
||
17 | /** |
||
18 | * @var Node |
||
19 | */ |
||
20 | private $target; |
||
21 | |||
22 | /** |
||
23 | * @param string $type |
||
24 | * @param array<string,mixed> $properties |
||
25 | * @param Node $target |
||
26 | */ |
||
27 | 62 | public function __construct($type, array $properties, Node $target) { |
|
31 | |||
32 | /** |
||
33 | * The target of the relation. |
||
34 | * |
||
35 | * @return Node |
||
36 | */ |
||
37 | 35 | public function target() { |
|
40 | } |
||
41 |