protected function indent($str) { return $this->indent . str_replace($this->eol, $this->eol . $this->indent, $str); }