ExcelDataFormatter::setUseLabelsAsHeaders
Setter for UseLabelsAsHeaders. If this is `true`, the data formatter will call {@link DataObject::fieldLabel()} to pick the header strings. If it's set to false, it will use the raw field name.
If `$value` is `null`, the data formatter will fall back on whatevr the default is.
Signature
public function setUseLabelsAsHeaders(bool
$value )
Parameters
$value
— object
Returns
- ExcelDataFormatter