src/db/mysql/MySQLConnector.php
protected function setUsername($name) {
        if (!is_string($name)) throw new IllegalTypeException('Illegal type of parameter $name: '.gettype($name));
        if (!strlen($name))    throw new InvalidArgumentException('Invalid parameter $name: "'.$name.'" (empty)');

        $this->username = $name;
        return $this;
    }
protected function setUsername($name) {
        if (!is_string($name)) throw new IllegalTypeException('Illegal type of parameter $name: '.gettype($name));
        if (!strlen($name))    throw new InvalidArgumentException('Invalid parameter $name: "'.$name.'" (empty)');

        $this->username = $name;
        return $this;
    }
protected function setUsername ( $ name ) { if ( ! is_string ( $ name ) ) throw new IllegalTypeException ( 'Illegal type of parameter $name: ' . gettype ( $ name ) ) ; if ( ! strlen ( $ name ) ) throw new InvalidArgumentException ( 'Invalid parameter $name: "' . $ name . '" (empty)' ) ; $ this -> username = $ name ; return $ this ; }
Set the username for the connection.

@param  string $name

@return $this
Set the username for the connection .