eZ\Publish\Core\Persistence\Legacy\Tests\TestCase::getResultTextRepresentation PHP Method

getResultTextRepresentation() protected static method

Get a text representation of a result set.
protected static getResultTextRepresentation ( array $result ) : string
$result array
return string
    protected static function getResultTextRepresentation(array $result)
    {
        return implode("\n", array_map(function ($row) {
            return implode(', ', $row);
        }, $result));
    }