in src/Apache/Ignite/Type/CollectionObjectType.php [94:111]
public function __construct(int $subType, $elementType = null)
{
parent::__construct(ObjectType::COLLECTION);
ArgumentChecker::hasValueFrom(
$subType, 'subType', false,
[
CollectionObjectType::USER_SET,
CollectionObjectType::USER_COL,
CollectionObjectType::ARRAY_LIST,
CollectionObjectType::LINKED_LIST,
CollectionObjectType::HASH_SET,
CollectionObjectType::LINKED_HASH_SET,
CollectionObjectType::SINGLETON_LIST
]);
BinaryUtils::checkObjectType($elementType, 'elementType');
$this->subType = $subType;
$this->elementType = $elementType;
}