Documentation

SetValue
in package
implements JsonSerializable, Countable, IteratorAggregate

Special object to represent a DynamoDB set (SS/NS/BS) value.

Interfaces, Classes and Traits

JsonSerializable
Countable
IteratorAggregate

Table of Contents

$values  : array<string|int, mixed>
__construct()  : mixed
count()  : mixed
getIterator()  : mixed
jsonSerialize()  : mixed
Specify data which should be serialized to JSON.
toArray()  : array<string|int, mixed>
Get the values formatted for PHP and JSON.

Properties

$values

private array<string|int, mixed> $values

Values in the set as provided.

Methods

__construct()

public __construct(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>

Values in the set.

Return values
mixed

count()

public count() : mixed
Return values
mixed

getIterator()

public getIterator() : mixed
Return values
mixed

jsonSerialize()

Specify data which should be serialized to JSON.

public jsonSerialize() : mixed
Return values
mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

toArray()

Get the values formatted for PHP and JSON.

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

Search results