Basho\Riak\Command\TimeSeries\Store::getEncodedData PHP Метод

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

public getEncodedData ( )
    public function getEncodedData()
    {
        $rows = [];
        foreach ($this->getData() as $row) {
            $cells = [];
            foreach ($row as $cell) {
                $cells[$cell->getName()] = $cell->getValue();
            }
            $rows[] = $cells;
        }
        return json_encode($rows);
    }