public function __construct(TextWriter $writer, array $formatOptions = array()) { parent::__construct($formatOptions); $this->textWriter = $writer; }