original_string: private function attribute($key)
      {
          if ($this->attributes === null) {
              $this->attributes = session('_auth', []);
              if (empty($this->attributes)) {
                  $this->loadPrincipalFromRememberMeCookie();
              }
          }
  
          return isset($this->attributes[$key]) ? $this->attributes[$key] : null;
      }
code: private function attribute($key)
      {
          if ($this->attributes === null) {
              $this->attributes = session('_auth', []);
              if (empty($this->attributes)) {
                  $this->loadPrincipalFromRememberMeCookie();
              }
          }
  
          return isset($this->attributes[$key]) ? $this->attributes[$key] : null;
      }
code_tokens: private function attribute ( $ key ) { if ( $ this -> attributes === null ) { $ this -> attributes = session ( '_auth' , [ ] ) ; if ( empty ( $ this -> attributes ) ) { $ this -> loadPrincipalFromRememberMeCookie ( ) ; } } return isset ( $ this -> attributes [ $ key ] ) ? $ this -> attributes [ $ key ] : null ; }
docstring: Load the user attributes from the session and get the attribute.
  
  @param string $key
  @return mixed
docstring_tokens: Load the user attributes from the session and get the attribute .