public function setIndentStyle($style) { $style = strtolower($style); switch ($style) { case self::INDENT_STYLE_SPACE: case self::INDENT_STYLE_TAB: $this->indentStyle = $style; break; } return $this; }