getTagValues() public method

Returns the values of the specified tag. The doc comment must be parsed with parseDocComment() before tags are available.
public getTagValues ( string $tagName ) : array
$tagName string The tag name to retrieve the values for
return array The tag's values
 /**
  * @test
  */
 public function eolCharacterCanBeNewlineOrCarriageReturn()
 {
     $parser = new DocCommentParser();
     $parser->parseDocComment('/**' . chr(10) . ' * @var $foo integer' . chr(13) . chr(10) . ' * @var $bar string' . chr(10) . ' */');
     $this->assertEquals(['$foo integer', '$bar string'], $parser->getTagValues('var'));
 }