public function setCharset($charset) { if (!Validate::isCharset($charset)) { throw new \Exception('Charset in\'t a valid charset type'); } $this->_charset = $charset; }
public function setCharset($charset) { if (!Validate::isCharset($charset)) { throw new \Exception('Charset isn\'t a valid charset type for template : "' . $this->_name . '"'); } $this->charset = $charset; }