Zend\Text\Table\Column::setContent
Set the content.
If $charset is not defined, it is assumed that $content is encoded in the charset defined via Zend\Text\Table::setInputCharset() (defaults to utf-8).
Signature
public function setContent(string
$content,
[string
$charset = null] )
Parameters
$content
— string- Content of the column
$charset
— string- The charset of the content
Returns
- Column
Errors/Exceptions
-
InvalidArgumentException
- When $content is not a string