Piwik\DataTable::unserializeRows PHP Method

unserializeRows() private method

Why? By then most new archives will have only arrays serialized anyway and therefore this mapping is rather an overhead.
private unserializeRows ( string $serialized ) : array
$serialized string
return array
    private function unserializeRows($serialized)
    {
        $serialized = str_replace(self::$previousRowClasses, self::$rowClassToUseForUnserialize, $serialized);
        $rows = unserialize($serialized);
        if ($rows === false) {
            throw new Exception("The unserialization has failed!");
        }
        return $rows;
    }