Relationship Class¶
- class Relationship¶
Represents an relationship between an Element and/or Requirement
- __construct(RelatableInterface $source, RelatableInterface $destination, RelationshipType $type)¶
Creates an Relationship
- Parameters:
$source (
RelatableInterface) – The relationship source$destination (
RelatableInterface) – The relationship destination$type (
RelationshipType) – The relationship type
- Returns:
A new instance of
Relationship- Return type: