OrganizationCreatedContext
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Additional context about the event.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $actor : OrganizationCreatedContextActor|null
- The actor who performed the action.
- $ajsAnonymousId : string|null
- The anonymous ID from analytics.
- $clientId : string|null
- The client ID associated with the event.
- $googleAnalyticsClientId : string|null
- The Google Analytics client ID.
- $googleAnalyticsSessions : array<string|int, OrganizationCreatedContextGoogleAnalyticsSession>|null
- The Google Analytics sessions associated with the event.
- $previousAttributes : array<string, mixed>|null
- Attributes that changed from their previous values.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$actor
The actor who performed the action.
public
OrganizationCreatedContextActor|null
$actor
= null
$ajsAnonymousId
The anonymous ID from analytics.
public
string|null
$ajsAnonymousId
= null
$clientId
The client ID associated with the event.
public
string|null
$clientId
= null
$googleAnalyticsClientId
The Google Analytics client ID.
public
string|null
$googleAnalyticsClientId
= null
$googleAnalyticsSessions
The Google Analytics sessions associated with the event.
public
array<string|int, OrganizationCreatedContextGoogleAnalyticsSession>|null
$googleAnalyticsSessions
= null
$previousAttributes
Attributes that changed from their previous values.
public
array<string, mixed>|null
$previousAttributes
= null
Methods
__construct()
public
__construct([string|null $googleAnalyticsClientId = null ][, array<string|int, mixed>|null $googleAnalyticsSessions = null ][, string|null $ajsAnonymousId = null ][, string|null $clientId = null ][, OrganizationCreatedContextActor|null $actor = null ][, array<string|int, mixed>|null $previousAttributes = null ]) : mixed
Parameters
- $googleAnalyticsClientId : string|null = null
- $googleAnalyticsSessions : array<string|int, mixed>|null = null
- $ajsAnonymousId : string|null = null
- $clientId : string|null = null
- $actor : OrganizationCreatedContextActor|null = null
- $previousAttributes : array<string|int, mixed>|null = null
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>