MutationCollection implements JsonSerializable
FinalYes
A collection of mutations (sic!).
Table of Contents
Interfaces
- JsonSerializable
Properties
- $mutations : array<int, Mutation>
Methods
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$mutations read-only
public
array<int, Mutation>
$mutations
Methods
__construct()
public
__construct(Mutation ...$mutations) : mixed
Parameters
- $mutations : Mutation
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>