original_string: public function getAttributes()
      {
      	// Sequence validation
      	$this->ensureAuthenticationCallSuccessful();
      	// This is likely a duplicate check that could be removed....
          if ( empty($this->_user) ) {
              // if no user is set, there shouldn't be any attributes also...
              phpCAS::error(
                  'this method should be used only after '.__CLASS__
                  .'::forceAuthentication() or '.__CLASS__.'::isAuthenticated()'
              );
          }
          return $this->_attributes;
      }
code: public function getAttributes()
      {
      	// Sequence validation
      	$this->ensureAuthenticationCallSuccessful();
      	// This is likely a duplicate check that could be removed....
          if ( empty($this->_user) ) {
              // if no user is set, there shouldn't be any attributes also...
              phpCAS::error(
                  'this method should be used only after '.__CLASS__
                  .'::forceAuthentication() or '.__CLASS__.'::isAuthenticated()'
              );
          }
          return $this->_attributes;
      }
code_tokens: public function getAttributes ( ) { // Sequence validation $ this -> ensureAuthenticationCallSuccessful ( ) ; // This is likely a duplicate check that could be removed.... if ( empty ( $ this -> _user ) ) { // if no user is set, there shouldn't be any attributes also... phpCAS :: error ( 'this method should be used only after ' . __CLASS__ . '::forceAuthentication() or ' . __CLASS__ . '::isAuthenticated()' ) ; } return $ this -> _attributes ; }
docstring: Get an key values arry of attributes
  
  @return arry of attributes
docstring_tokens: Get an key values arry of attributes