public function setComment($comment)
    {
        if (($comment !== null) && !is_string($comment)) {
            throw SchemaException::invalidColumnComment($this->getName());
        }

        $this->comment = $comment;
    }
public function setComment($comment)
    {
        if (($comment !== null) && !is_string($comment)) {
            throw SchemaException::invalidColumnComment($this->getName());
        }

        $this->comment = $comment;
    }
public function setComment ( $ comment ) { if ( ( $ comment !== null ) && ! is_string ( $ comment ) ) { throw SchemaException :: invalidColumnComment ( $ this -> getName ( ) ) ; } $ this -> comment = $ comment ; }
Sets the column comment.

@param string|null $comment The column comment.

@throws \Fridge\DBAL\Exception\SchemaException If the comment is not a string.
Sets the column comment .