public function setDialect($dialect)
    {
        if (!Type::isStringLike($dialect)) {
            throw new InvalidArgumentException('Dialect hast to be stringlike, not ' . Type::of($dialect));
        }
        $this->dialect = $dialect;
        return $this;
    }
public function setDialect($dialect)
    {
        if (!Type::isStringLike($dialect)) {
            throw new InvalidArgumentException('Dialect hast to be stringlike, not ' . Type::of($dialect));
        }
        $this->dialect = $dialect;
        return $this;
    }
public function setDialect ( $ dialect ) { if ( ! Type :: isStringLike ( $ dialect ) ) { throw new InvalidArgumentException ( 'Dialect hast to be stringlike, not ' . Type :: of ( $ dialect ) ) ; } $ this -> dialect = $ dialect ; return $ this ; }
Assign the dialect.

@param string|object $dialect (string or object with __toString)

@return self
Assign the dialect .