Resolution implements JsonSerializable

Internal

Table of Contents

Interfaces

JsonSerializable

Properties

$created  : DateTimeImmutable
$meta  : array<string|int, mixed>
$mutationCollection  : MutationCollection
$mutationIdentifier  : string
$scope  : Scope
$summary  : string

Methods

__construct()  : mixed
fromArray()  : static
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$created read-only

public DateTimeImmutable $created

$meta read-only

public array<string|int, mixed> $meta = []

$mutationIdentifier read-only

public string $mutationIdentifier

Methods

__construct()

public final __construct(string $summary, Scope $scope, string $mutationIdentifier, MutationCollection $mutationCollection[, array<string|int, mixed> $meta = [] ][, DateTimeImmutable|null $created = null ]) : mixed
Parameters
$summary : string
$scope : Scope
$mutationIdentifier : string
$mutationCollection : MutationCollection
$meta : array<string|int, mixed> = []
$created : DateTimeImmutable|null = null

fromArray()

public static fromArray(array<string|int, mixed> $array) : static
Parameters
$array : array<string|int, mixed>
Return values
static

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results