SummarizedReport extends Report

Internal

Table of Contents

Properties

$changed  : DateTimeImmutable
$created  : DateTimeImmutable
$details  : ReportDetails
$meta  : array<string|int, mixed>
$requestTime  : int
$scope  : Scope
$status  : ReportStatus
$summary  : string
$uuid  : UuidV4
$attributes  : array<int, ReportAttribute>
$count  : int
$mutationHashes  : array<int, string>

Methods

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

Properties

$changed read-only

public DateTimeImmutable $changed

$created read-only

public DateTimeImmutable $created

$meta read-only

public array<string|int, mixed> $meta

$requestTime read-only

public int $requestTime

$summary read-only

public string $summary = ''

$mutationHashes

protected array<int, string> $mutationHashes = []

Methods

__construct()

public final __construct(Scope $scope, ReportStatus $status, int $requestTime, array<string|int, mixed> $meta, ReportDetails $details[, string $summary = '' ][, UuidV4|null $uuid = null ][, DateTimeImmutable|null $created = null ][, DateTimeImmutable|null $changed = null ]) : mixed
Parameters
$scope : Scope
$status : ReportStatus
$requestTime : int
$meta : array<string|int, mixed>
$details : ReportDetails
$summary : string = ''
$uuid : UuidV4|null = null
$created : DateTimeImmutable|null = null
$changed : 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>

withCount()

public withCount(int $count) : self
Parameters
$count : int
Return values
self

withMutationHashes()

public withMutationHashes(string ...$mutationHashes) : self
Parameters
$mutationHashes : string
Return values
self

        
On this page

Search results