public static function setStyle($styleArray, $range=NULL)
    {
        $sheetObj = self::validSheetObj();

        $range = ($range) ? $range : self::getRangeAll();

        $sheetObj->getStyle($range)
            ->applyFromArray($styleArray);
        
        return new static();
    }
public static function setStyle($styleArray, $range=NULL)
    {
        $sheetObj = self::validSheetObj();

        $range = ($range) ? $range : self::getRangeAll();

        $sheetObj->getStyle($range)
            ->applyFromArray($styleArray);
        
        return new static();
    }
public static function setStyle ( $ styleArray , $ range = NULL ) { $ sheetObj = self :: validSheetObj ( ) ; $ range = ( $ range ) ? $ range : self :: getRangeAll ( ) ; $ sheetObj -> getStyle ( $ range ) -> applyFromArray ( $ styleArray ) ; return new static ( ) ; }
Set Style for all actived cells or set by giving range to the actived sheet

@param array Array containing style information for applyFromArray()
@param string $range Cells range format
@return self
Set Style for all actived cells or set by giving range to the actived sheet