protected function sanitizeUsername()
    {
        $username = $this->has('username')
            ? $this->get('username')
            : $this->get('first_name').' '.$this->get('last_name');

        return Str::slug($username, config('arcanesoft.auth.slug-separator', '.'));
    }
protected function sanitizeUsername()
    {
        $username = $this->has('username')
            ? $this->get('username')
            : $this->get('first_name').' '.$this->get('last_name');

        return Str::slug($username, config('arcanesoft.auth.slug-separator', '.'));
    }
protected function sanitizeUsername ( ) { $ username = $ this -> has ( 'username' ) ? $ this -> get ( 'username' ) : $ this -> get ( 'first_name' ) . ' ' . $ this -> get ( 'last_name' ) ; return Str :: slug ( $ username , config ( 'arcanesoft.auth.slug-separator' , '.' ) ) ; }
Sanitize the username.

@return string
Sanitize the username .