SearchAttributeDefinition
in package
FinalYes
Result of creating or deleting a custom search attribute.
Table of Contents
Properties
Methods
- __construct() : mixed
- fromArray() : self
Properties
$name read-only
public
string
$name
$outcome read-only
public
string|null
$outcome
$raw read-only
public
array<string|int, mixed>
$raw
$type read-only
public
string|null
$type
Methods
__construct()
public
__construct(string $name, string|null $type, string|null $outcome, array<string, mixed> $raw) : mixed
Parameters
- $name : string
- $type : string|null
- $outcome : string|null
- $raw : array<string, mixed>
fromArray()
public
static fromArray(array<string, mixed> $value[, string $fallbackName = '' ]) : self
Parameters
- $value : array<string, mixed>
- $fallbackName : string = ''