Copied!

InvitationCreateStruct

InvitationCreateStruct.php : 16
Final
Extends ValueObject

The base class for all value objects and structs.

Supports read-only properties by marking them as protected. In this case they will only be writable using constructor, and need to be documented using @property-read <type> <$var> annotation in class doc in addition to inline property doc. Writable properties must be public and must be documented inline.

Methods

public__construct()

InvitationCreateStruct.php : 27

Construct object optionally with a set of properties.

public __construct(SessionInterface $session, ParticipantInterface $participant)

Readonly properties values must be set using $properties as they aren't writable anymore after object has been created.

Parameters

Name Type Default value Description
$session SessionInterface - -
$participant ParticipantInterface - -

publicgetContext()

InvitationCreateStruct.php : 58
public getContext() : array<string, mixed>

Return values

array<string, mixed>

publicgetParticipant()

InvitationCreateStruct.php : 40
public getParticipant() : ParticipantInterface

Return values

ParticipantInterface

publicgetSender()

InvitationCreateStruct.php : 45
public getSender() : UserReference|null

Return values

UserReference|null

publicgetSession()

InvitationCreateStruct.php : 35
public getSession() : SessionInterface

Return values

SessionInterface

publicsetContext()

InvitationCreateStruct.php : 66
public setContext(array<string, mixed> $context) : void

Parameters

Name Type Default value Description
$context array<string, mixed> - -

publicsetSender()

InvitationCreateStruct.php : 50
public setSender(UserReference $sender) : void

Parameters

Name Type Default value Description
$sender UserReference - -

protectedgetProperties()

ValueObject.php : 53

Returns list of available properties' names.

protected getProperties([array<int, string> $dynamicProperties = [] ]) : array<int, string>

Override to add dynamic properties.

Parameters

Name Type Default value Description
$dynamicProperties array<int, string> []

Additional dynamic properties exposed on the object

Return values

array<int, string>

Attributes
#[Ignore]