Receive notification that the charset of this entity, or a parent entity
has changed.
public charsetChanged ( string $charset ) | ||
$charset | string |
/** * Set the character set of this entity. * * @param string $charset * * @return Swift_Mime_MimePart */ public function setCharset($charset) { $this->_setHeaderParameter('Content-Type', 'charset', $charset); if ($charset !== $this->_userCharset) { $this->_clearCache(); } $this->_userCharset = $charset; parent::charsetChanged($charset); return $this; }