SebastianBergmann\PHPLOC\Log\CSV\Single::getValuesLine PHP Method

getValuesLine() protected method

protected getValuesLine ( array $count ) : string
$count array
return string
    protected function getValuesLine(array $count)
    {
        $values = [];
        foreach ($this->colmap as $key => $name) {
            if (isset($count[$key])) {
                $values[] = $count[$key];
            } else {
                throw new \InvalidArgumentException('Attempted to print row with missing keys');
            }
        }
        return '"' . implode('","', $values) . '"' . PHP_EOL;
    }