Relationship Class

class Relationship

Represents the relationship between two entities

__construct(string $name, string $type)

Create a new Relationship instance

Parameters:
  • $name (string) – Attribute name

  • $type (string) – Attribute type

Returns:

A Relationship instance

Return type:

Relationship