WorkOS PHP SDK

ErrorBodyWithConstraintsPropertyError
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

Table of Contents

Interfaces

JsonSerializable

Properties

$constraints  : array<string, mixed>|null
$property  : string|null
The property that failed validation.

Methods

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

Properties

Methods

__construct()

public __construct([string|null $property = null ][, array<string|int, mixed>|null $constraints = null ]) : mixed
Parameters
$property : string|null = null
$constraints : array<string|int, mixed>|null = null

jsonSerialize()

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

Search results