src/Fridge/DBAL/Schema/Column.php
public function setNotNull($notNull)
    {
        if (($notNull !== null) && !is_bool($notNull)) {
            throw SchemaException::invalidColumnNotNullFlag($this->getName());
        }

        $this->notNull = $notNull;
    }
public function setNotNull($notNull)
    {
        if (($notNull !== null) && !is_bool($notNull)) {
            throw SchemaException::invalidColumnNotNullFlag($this->getName());
        }

        $this->notNull = $notNull;
    }
public function setNotNull ( $ notNull ) { if ( ( $ notNull !== null ) && ! is_bool ( $ notNull ) ) { throw SchemaException :: invalidColumnNotNullFlag ( $ this -> getName ( ) ) ; } $ this -> notNull = $ notNull ; }
Sets the column not null flag.

@param boolean|null $notNull The column not null flag.

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