public function parseSimpleAnnotation($name) {
    $m = array();
    if (Preg::match($this->body, '/@'.$name.'\s+([^\n]+)/i', $m)) {
      return rtrim($m[1]);
    }
    
    return NULL;
  }
public function parseSimpleAnnotation($name) {
    $m = array();
    if (Preg::match($this->body, '/@'.$name.'\s+([^\n]+)/i', $m)) {
      return rtrim($m[1]);
    }
    
    return NULL;
  }
public function parseSimpleAnnotation ( $ name ) { $ m = array ( ) ; if ( Preg :: match ( $ this -> body , '/@' . $ name . '\s+([^\n]+)/i' , $ m ) ) { return rtrim ( $ m [ 1 ] ) ; } return NULL ; }
Returns the first matching Annotation with the given name and returns its value


@return string the word after the annotation (stopped being parsed at end of line)
Returns the first matching Annotation with the given name and returns its value