src/db/mysql/MySQLConnector.php
protected function setDatabase($name) {
        if (isset($name) && !is_string($name)) throw new IllegalTypeException('Illegal type of parameter $name: '.gettype($name));
        if (!strlen($name))
            $name = null;

        $this->database = $name;
        return $this;
    }
protected function setDatabase($name) {
        if (isset($name) && !is_string($name)) throw new IllegalTypeException('Illegal type of parameter $name: '.gettype($name));
        if (!strlen($name))
            $name = null;

        $this->database = $name;
        return $this;
    }
protected function setDatabase ( $ name ) { if ( isset ( $ name ) && ! is_string ( $ name ) ) throw new IllegalTypeException ( 'Illegal type of parameter $name: ' . gettype ( $ name ) ) ; if ( ! strlen ( $ name ) ) $ name = null ; $ this -> database = $ name ; return $ this ; }
Set the name of the default database schema to use.

@param  string $name - schema name

@return $this
Set the name of the default database schema to use .