src/models/Schema.php
public function twoArrayStyleString(array $array, array $columnType, $indent = 0)
    {
        $string = $this->textIndent($indent) . '[' . self::ENTER;

        foreach ($array as $key => $value) {
            $string .= $this->oneArrayStyleString($value, $columnType, $indent + 1) . ',' . self::ENTER;
        }

        $string .= $this->textIndent($indent) . ']';

        return $string;
    }
public function twoArrayStyleString(array $array, array $columnType, $indent = 0)
    {
        $string = $this->textIndent($indent) . '[' . self::ENTER;

        foreach ($array as $key => $value) {
            $string .= $this->oneArrayStyleString($value, $columnType, $indent + 1) . ',' . self::ENTER;
        }

        $string .= $this->textIndent($indent) . ']';

        return $string;
    }
return string of array style
eg: "[['1'], ['2'], ['3']]"
@param array $array 二维数组
@param array $columnType 字段类型
@param int $indent int text-indent 文本缩进
@return string