WorkOS PHP SDK

CreateObjectRequest
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$keyContext  : array<string, string>
Map of values used to determine the encryption key.
$name  : string
Unique name for the object.
$value  : string
Plaintext data to encrypt and store.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$keyContext

Map of values used to determine the encryption key.

public array<string, string> $keyContext

Methods

__construct()

public __construct(array<string|int, mixed> $keyContext, string $name, string $value) : mixed
Parameters
$keyContext : array<string|int, mixed>
$name : string
$value : string

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self

jsonSerialize()

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

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results