/** * @author WN * @param int $width * @param int $height * @param int|null $color * @param int|null $option * @param int|null $bgcolor * @param string|null $default * @return Row[] */ protected function buildMatrix($width, $height, $color, $option, $bgcolor, $default) { $output = []; for ($y = 0; $y < $height; $y++) { $output[] = Row::make($width, $color, $option, $bgcolor, $default); } return $output; }