SDK for PHP 3.x

SetValue
in package
implements JsonSerializable, Countable, IteratorAggregate

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

Table of Contents

Interfaces

JsonSerializable
Countable
IteratorAggregate

Methods

__construct()  : mixed
count()  : int
getIterator()  : mixed
jsonSerialize()  : mixed
toArray()  : array<string|int, mixed>
Get the values formatted for PHP and JSON.

Methods

__construct()

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

Values in the set.

count()

public count() : int
Return values
int

getIterator()

public getIterator() : mixed

jsonSerialize()

public jsonSerialize() : mixed

toArray()

Get the values formatted for PHP and JSON.

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