Cassandra\TupleIntegrationTest::tupleWithScalarTypes PHP Method

tupleWithScalarTypes() public method

Data provider for tuples with scalar types
    public function tupleWithScalarTypes()
    {
        return array_map(function ($cassandraType) {
            $tupleType = Type::tuple($cassandraType[0]);
            $tuple = $tupleType->create();
            $tuple->set(0, $cassandraType[1][0]);
            return array($tupleType, $tuple);
        }, $this->scalarCassandraTypes());
    }