original_string: public function getAttribute( $name ) {
          if( key_exists( $name, $this->attrs ) ) {
              return $this->attrs[$name];
          } else {
              return null;
          }
      }
code: public function getAttribute( $name ) {
          if( key_exists( $name, $this->attrs ) ) {
              return $this->attrs[$name];
          } else {
              return null;
          }
      }
code_tokens: public function getAttribute ( $ name ) { if ( key_exists ( $ name , $ this -> attrs ) ) { return $ this -> attrs [ $ name ] ; } else { return null ; } }
docstring: Gets an attribute given the attribute name.
  
  @param $name The name of the attribute.
docstring_tokens: Gets an attribute given the attribute name .