Basho\Tests\TimeSeriesTrait::generateRows PHP Method

generateRows() public static method

public static generateRows ( )
    public static function generateRows()
    {
        $row = static::generateRow();
        $rows = [$row, [$row[0], $row[1], (new Cell("time"))->setTimestampValue(static::oneHourAgo()), (new Cell("weather"))->setValue("windy"), (new Cell("temperature"))->setDoubleValue(19.8), (new Cell("uv_index"))->setIntValue(10), (new Cell("observed"))->setBooleanValue(true)], [$row[0], $row[1], (new Cell("time"))->setTimestampValue(static::twoHoursAgo()), (new Cell("weather"))->setValue("cloudy"), (new Cell("temperature"))->setDoubleValue(19.1), (new Cell("uv_index"))->setIntValue(15), (new Cell("observed"))->setBooleanValue(false)]];
        return $rows;
    }