Participant Class

class Participant

Represents a participant

__construct(string $id, ?string $alias = null, ?Annotation $annotation = null, ?string $stereotype = null)

Create a new Participant

Parameters:
  • $id (string) – Participant id

  • $alias (?string) – Participant alias (default: no alias)

  • $annotation (?Annotation) – Participant annotation (default: no annotation)

  • $stereotype (?string) – Participant stereotype (default: no stereotype)

Returns:

A new instance of Participant

Return type:

Participant