public function setIndentationLevel($value)
    {
        if ($value < 0 || (!is_string($value) && is_infinite($value))) {
            throw new Exceptions\InvalidArgumentException('The indentation level can not be negative or infinite.');
        }

        $this->indentationLevel = intval($value);

        return $this;
    }