private function setUserInfo($user, $pass)
    {
        $this->userInfo = $user . (!empty($pass) ? ':' . $pass : '');

        return $this;
    }
private function setUserInfo($user, $pass)
    {
        $this->userInfo = $user . (!empty($pass) ? ':' . $pass : '');

        return $this;
    }
private function setUserInfo ( $ user , $ pass ) { $ this -> userInfo = $ user . ( ! empty ( $ pass ) ? ':' . $ pass : '' ) ; return $ this ; }
Set user info

@param  string $user
@param  string $pass
@return self
Set user info