src/Mouf/Reflection/MoufPhpDocComment.php
private function parse($docComment) {
		$lines = self::getDocLinesFromComment($docComment);
		
		// First, let's go to the first Annotation.
		// Anything before is the pure comment.
		$annotationLines = array();
		
		$oneAnnotationFound = false;
		// Is the line an annotation? Let's test this with a regexp.
		foreach ($lines as $line) {
			if (preg_match("/^[@][a-zA-Z]/", $line) === 0) {
				if ($oneAnnotationFound == false) {
					$this->comment .= $line."\n";
				}
			} else {
				$this->parseAnnotation($line);
				$oneAnnotationFound = true;
			}
		}
	}
private function parse($docComment) {
		$lines = self::getDocLinesFromComment($docComment);
		
		// First, let's go to the first Annotation.
		// Anything before is the pure comment.
		$annotationLines = array();
		
		$oneAnnotationFound = false;
		// Is the line an annotation? Let's test this with a regexp.
		foreach ($lines as $line) {
			if (preg_match("/^[@][a-zA-Z]/", $line) === 0) {
				if ($oneAnnotationFound == false) {
					$this->comment .= $line."\n";
				}
			} else {
				$this->parseAnnotation($line);
				$oneAnnotationFound = true;
			}
		}
	}
private function parse ( $ docComment ) { $ lines = self :: getDocLinesFromComment ( $ docComment ) ; // First, let's go to the first Annotation.
 // Anything before is the pure comment.
 $ annotationLines = array ( ) ; $ oneAnnotationFound = false ; // Is the line an annotation? Let's test this with a regexp.
 foreach ( $ lines as $ line ) { if ( preg_match ( "/^[@][a-zA-Z]/" , $ line ) === 0 ) { if ( $ oneAnnotationFound == false ) { $ this -> comment .= $ line . "\n" ; } } else { $ this -> parseAnnotation ( $ line ) ; $ oneAnnotationFound = true ; } } }
Parses the doc comment and initilizes all the values of interest.

@param string $docComment
Parses the doc comment and initilizes all the values of interest .