Cassandra\CollectionIntegrationTest::collectionWithScalarTypes PHP Метод

collectionWithScalarTypes() публичный Метод

Data provider for lists with scalar types
    public function collectionWithScalarTypes()
    {
        return array_map(function ($cassandraType) {
            $listType = Type::collection($cassandraType[0]);
            $list = $listType->create();
            foreach ($cassandraType[1] as $value) {
                $list->add($value);
            }
            return array($listType, $list);
        }, $this->scalarCassandraTypes());
    }