src/Schema.php
public function setFlag(int $flag, bool $value) {
        if ($value) {
            $this->flags = $this->flags | $flag;
        } else {
            $this->flags = $this->flags & ~$flag;
        }
        return $this;
    }
public function setFlag(int $flag, bool $value) {
        if ($value) {
            $this->flags = $this->flags | $flag;
        } else {
            $this->flags = $this->flags & ~$flag;
        }
        return $this;
    }
public function setFlag ( int $ flag , bool $ value ) { if ( $ value ) { $ this -> flags = $ this -> flags | $ flag ; } else { $ this -> flags = $ this -> flags & ~ $ flag ; } return $ this ; }
Set a flag.

@param int $flag One or more of the **Schema::VALIDATE_*** constants.
@param bool $value Either true or false.
@return $this
Set a flag .