original_string: public function getAttribute($name, $default = NULL) {
  
  		return isset($this->attributes[$name]) ? $this->attributes[$name] : $default;
  
  	}
code: public function getAttribute($name, $default = NULL) {
  
  		return isset($this->attributes[$name]) ? $this->attributes[$name] : $default;
  
  	}
code_tokens: public function getAttribute ( $ name , $ default = NULL ) { return isset ( $ this -> attributes [ $ name ] ) ? $ this -> attributes [ $ name ] : $ default ; }
docstring: Returns an attribute by its name.
  
  @param string $name
  @param mixed  $default
  
  @return mixed
docstring_tokens: Returns an attribute by its name .