public function getIndentationPrefix($times = 1)
    {
        if (!is_integer($times)) {
            throw new \InvalidArgumentException('The times parameter has to be an integer');
        }

        $indentation = '';

        for ($i = 0; $i < $times; $i++) {
            $indentation .= $this->getTemplate()->getIndentation();
        }

        return $indentation;
    }