original_string: final protected function auth($member)
      {
          if ($member) {
              $this->session->set('auth_member_id', $member->getId());
          } else {
              $this->session->remove('auth_member_id');
          }
          return $this;
      }
code: final protected function auth($member)
      {
          if ($member) {
              $this->session->set('auth_member_id', $member->getId());
          } else {
              $this->session->remove('auth_member_id');
          }
          return $this;
      }
code_tokens: final protected function auth ( $ member ) { if ( $ member ) { $ this -> session -> set ( 'auth_member_id' , $ member -> getId ( ) ) ; } else { $ this -> session -> remove ( 'auth_member_id' ) ; } return $ this ; }
docstring: set auth user to session
  
  @param null|Member $member
  @return $this
docstring_tokens: set auth user to session