original_string: public function getAttribute($attributes, $name) {
          foreach($attributes as $a) {
              if ($a->key == $name) {
                  return $a->value;
              }
          }
          return null;
      }
code: public function getAttribute($attributes, $name) {
          foreach($attributes as $a) {
              if ($a->key == $name) {
                  return $a->value;
              }
          }
          return null;
      }
code_tokens: public function getAttribute ( $ attributes , $ name ) { foreach ( $ attributes as $ a ) { if ( $ a -> key == $ name ) { return $ a -> value ; } } return null ; }
docstring: Returns the value of attribute with name
  
  @param $attributes array of attributes
  @param $name string Attribute's name
  @return mixed Attribute value
docstring_tokens: Returns the value of attribute with name