Team
in package
implements
JsonSerializable
Simple abstraction to represent a team in the public API
In the backend a team is a circle identified by the circles singleId
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $displayName : string
- $link : string|null
- $teamId : string
Methods
- __construct() : mixed
- getDisplayName() : string
- getId() : string
- Unique identifier of the team (singleId of the circle)
- getLink() : string|null
- jsonSerialize() : array<string|int, mixed>
Properties
$displayName
private
string
$displayName
$link
private
string|null
$link
$teamId
private
string
$teamId
Methods
__construct()
public
__construct(string $teamId, string $displayName, string|null $link) : mixed
Parameters
- $teamId : string
- $displayName : string
- $link : string|null
Tags
getDisplayName()
public
getDisplayName() : string
Tags
Return values
stringgetId()
Unique identifier of the team (singleId of the circle)
public
getId() : string
Tags
Return values
stringgetLink()
public
getLink() : string|null
Tags
Return values
string|nulljsonSerialize()
public
jsonSerialize() : array<string|int, mixed>