public static function setWrapText($range=NULL, $value=true)
    {
        $sheetObj = self::validSheetObj();

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

        $sheetObj->getStyle($range)
            ->getAlignment()
            ->setWrapText($value); 
        
        return new static();
    }
public static function setWrapText($range=NULL, $value=true)
    {
        $sheetObj = self::validSheetObj();

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

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

@param string $range Cells range format
@param bool $value PhpSpreadsheet setWrapText() argument
@return self
Set WrapText for all actived cells or set by giving range to the actived sheet