FlagUpdatedContextPreviousAttributeData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
The previous data attributes of the flag.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $defaultValue : bool|null
- The previous default value of the flag.
- $description : string|null
- The previous description of the flag.
- $enabled : bool|null
- Whether the flag was previously enabled.
- $name : string|null
- The previous name of the flag.
- $tags : array<string|int, string>|null
- The previous tags of the flag.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$defaultValue
The previous default value of the flag.
public
bool|null
$defaultValue
= null
$description
The previous description of the flag.
public
string|null
$description
= null
$enabled
Whether the flag was previously enabled.
public
bool|null
$enabled
= null
$name
The previous name of the flag.
public
string|null
$name
= null
$tags
The previous tags of the flag.
public
array<string|int, string>|null
$tags
= null
Methods
__construct()
public
__construct([string|null $name = null ][, string|null $description = null ][, array<string|int, mixed>|null $tags = null ][, bool|null $enabled = null ][, bool|null $defaultValue = null ]) : mixed
Parameters
- $name : string|null = null
- $description : string|null = null
- $tags : array<string|int, mixed>|null = null
- $enabled : bool|null = null
- $defaultValue : bool|null = null
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>