public function setOptions(array $options)
{
if (isset($options['indentWidth'])) {
$this->setIndentWidth($options['indentWidth']);
}
if (isset($options['indent'])) {
$this->setIndent($options['indent']);
}
if (isset($options['quote'])) {
$this->setQuote($options['quote']);
}
if (isset($options['fgcolor'])) {
$this->setFgColor($options['fgcolor']);
}
if (isset($options['bgcolor'])) {
$this->setBgColor($options['bgcolor']);
}
return $this;
}