class Set
A class that represents the set type. The set type contains the type of the elements contain in the set.
A class that represents the set type. The set type contains the type of the elements contain in the set.
Returns type representation in CQL, e.g. set<varchar>
| Type | Details |
|---|---|
string |
|
Creates a new Type\Set from the given values.
| Name | Type | Details |
|---|---|---|
| $value | mixed |
One or more values to be added to the set. When no values are given, creates an empty set. |
| Type | Details |
|---|---|
Exception\InvalidArgumentException |
when values given are of a different type than what this set type expects. |
| Type | Details |
|---|---|
Type\Set |
A set with given values. |