CreateTeam
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $adminEmail : string
- The email address of the person who will administer the team. An invitation is sent to this address.
- $name : string
- Name of the team.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$adminEmail
The email address of the person who will administer the team. An invitation is sent to this address.
public
string
$adminEmail
$name
Name of the team.
public
string
$name
Methods
__construct()
public
__construct(string $adminEmail, string $name) : mixed
Parameters
- $adminEmail : string
- $name : string
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>