public static function putLines(string $filename, array $lines, string $separator = "\n"): int
    {
        return self::put($filename, implode($separator, $lines));
    }
public static function putLines(string $filename, array $lines, string $separator = "\n"): int
    {
        return self::put($filename, implode($separator, $lines));
    }
public static function putLines ( string $ filename , array $ lines , string $ separator = "\n" ) : int { return self :: put ( $ filename , implode ( $ separator , $ lines ) ) ; }
Put lines.

@param string $filename
@param string[] $lines
@param string $separator Default "\n".
@return int
Put lines .