original_string: public function setUseLabelsAsHeaders($value)
      {
          if ($value === null) {
              $this->useLabelsAsHeaders = null;
          } else {
              $this->useLabelsAsHeaders = (bool)$value;
          }
          return $this;
      }
code: public function setUseLabelsAsHeaders($value)
      {
          if ($value === null) {
              $this->useLabelsAsHeaders = null;
          } else {
              $this->useLabelsAsHeaders = (bool)$value;
          }
          return $this;
      }
code_tokens: public function setUseLabelsAsHeaders ( $ value ) { if ( $ value === null ) { $ this -> useLabelsAsHeaders = null ; } else { $ this -> useLabelsAsHeaders = ( bool ) $ value ; } return $ this ; }
docstring: Set the DataFormatter's UseFieldLabelsAsHeaders property
  @param bool $value
  @return GridFieldExcelExportButton
docstring_tokens: Set the DataFormatter s UseFieldLabelsAsHeaders property