version 1.5
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace InfluxDB2;
|
||||
|
||||
/**
|
||||
* Item for batching queue
|
||||
*/
|
||||
class BatchItem
|
||||
{
|
||||
/** @var BatchItemKey */
|
||||
public $key;
|
||||
/** @var string */
|
||||
public $data;
|
||||
|
||||
public function __construct($key, $data)
|
||||
{
|
||||
$this->key = $key;
|
||||
$this->data = $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user