original_string: public function setStartColor(PHPExcel_Style_Color $pValue = null)
      {
          // make sure parameter is a real color and not a supervisor
          $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue;
  
          if ($this->isSupervisor) {
              $styleArray = $this->getStartColor()->getStyleArray(array('argb' => $color->getARGB()));
              $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);
          } else {
              $this->startColor = $color;
          }
          return $this;
      }
code: public function setStartColor(PHPExcel_Style_Color $pValue = null)
      {
          // make sure parameter is a real color and not a supervisor
          $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue;
  
          if ($this->isSupervisor) {
              $styleArray = $this->getStartColor()->getStyleArray(array('argb' => $color->getARGB()));
              $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);
          } else {
              $this->startColor = $color;
          }
          return $this;
      }
code_tokens: public function setStartColor ( PHPExcel_Style_Color $ pValue = null ) { // make sure parameter is a real color and not a supervisor $ color = $ pValue -> getIsSupervisor ( ) ? $ pValue -> getSharedComponent ( ) : $ pValue ; if ( $ this -> isSupervisor ) { $ styleArray = $ this -> getStartColor ( ) -> getStyleArray ( array ( 'argb' => $ color -> getARGB ( ) ) ) ; $ this -> getActiveSheet ( ) -> getStyle ( $ this -> getSelectedCells ( ) ) -> applyFromArray ( $ styleArray ) ; } else { $ this -> startColor = $ color ; } return $ this ; }
docstring: Set Start Color
  
  @param    PHPExcel_Style_Color $pValue
  @throws    PHPExcel_Exception
  @return PHPExcel_Style_Fill
docstring_tokens: Set Start Color