public function massColor(array $strings, string $color)
    {
        $len_array = count($strings);
        for ($i = 0; $i < $len_array; $i++) {
            $strings[$i] = $this->colorize->{$color}($strings[$i]);
        }
        return $strings;
    }
public function massColor(array $strings, string $color)
    {
        $len_array = count($strings);
        for ($i = 0; $i < $len_array; $i++) {
            $strings[$i] = $this->colorize->{$color}($strings[$i]);
        }
        return $strings;
    }
public function massColor ( array $ strings , string $ color ) { $ len_array = count ( $ strings ) ; for ( $ i = 0 ; $ i < $ len_array ; $ i ++ ) { $ strings [ $ i ] = $ this -> colorize -> { $ color } ( $ strings [ $ i ] ) ; } return $ strings ; }
Mass colorize an array of strings

@param array $strings
@param string $color
@return array
Mass colorize an array of strings