public function duplicateStyleArray($pStyles = null, $pRange = '', $pAdvanced = true)
    {
        $this->getStyle($pRange)->applyFromArray($pStyles, $pAdvanced);
        return $this;
    }
public function duplicateStyleArray($pStyles = null, $pRange = '', $pAdvanced = true)
    {
        $this->getStyle($pRange)->applyFromArray($pStyles, $pAdvanced);
        return $this;
    }
public function duplicateStyleArray ( $ pStyles = null , $ pRange = '' , $ pAdvanced = true ) { $ this -> getStyle ( $ pRange ) -> applyFromArray ( $ pStyles , $ pAdvanced ) ; return $ this ; }
Duplicate cell style array to a range of cells

Please note that this will overwrite existing cell styles for cells in range,
if they are in the styles array. For example, if you decide to set a range of
cells to font bold, only include font bold in the styles array.

@deprecated
@param array $pStyles Array containing style information
@param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1")
@param boolean $pAdvanced Advanced mode for setting borders.
@throws PHPExcel_Exception
@return PHPExcel_Worksheet
Duplicate cell style array to a range of cells