original_string: public function getAttribute($key)
      {
      	// Sequence validation
      	$this->ensureAuthenticationCallSuccessful();
  
          if ($this->_hasAttribute($key)) {
              return $this->_attributes[$key];
          }
      }
code: public function getAttribute($key)
      {
      	// Sequence validation
      	$this->ensureAuthenticationCallSuccessful();
  
          if ($this->_hasAttribute($key)) {
              return $this->_attributes[$key];
          }
      }
code_tokens: public function getAttribute ( $ key ) { // Sequence validation $ this -> ensureAuthenticationCallSuccessful ( ) ; if ( $ this -> _hasAttribute ( $ key ) ) { return $ this -> _attributes [ $ key ] ; } }
docstring: Get a specific attribute by name
  
  @param string $key name of attribute
  
  @return string attribute values
docstring_tokens: Get a specific attribute by name