WorkOS PHP SDK

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

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

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results