public function setAutoIncrement($autoIncrement)
    {
        if (($autoIncrement !== null) && !is_bool($autoIncrement)) {
            throw SchemaException::invalidColumnAutoIncrementFlag($this->getName());
        }

        $this->autoIncrement = $autoIncrement;
    }
public function setAutoIncrement($autoIncrement)
    {
        if (($autoIncrement !== null) && !is_bool($autoIncrement)) {
            throw SchemaException::invalidColumnAutoIncrementFlag($this->getName());
        }

        $this->autoIncrement = $autoIncrement;
    }
public function setAutoIncrement ( $ autoIncrement ) { if ( ( $ autoIncrement !== null ) && ! is_bool ( $ autoIncrement ) ) { throw SchemaException :: invalidColumnAutoIncrementFlag ( $ this -> getName ( ) ) ; } $ this -> autoIncrement = $ autoIncrement ; }
Sets the column auto increment flag.

@param boolean|null $autoIncrement The column auto increment flag.

@throws \Fridge\DBAL\Exception\SchemaException If the auto increment flag is not a boolean.
Sets the column auto increment flag .