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;
    }
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;
    }
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 ; }
Set current indentation level.

@param integer $value The indentation level.
@return \Wingu\OctopusCore\CodeGenerator\GeneratorInterface
@throws \Wingu\OctopusCore\CodeGenerator\Exceptions\InvalidArgumentException If the value is invalid.
Set current indentation level .