private function createSpaces() { $spaces = ''; for ($i = 0; $i < $this->getIndentationLevel(); ++$i) { $spaces .= ' '; } return $spaces; }