private function DocParser::MethodCall in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::MethodCall()
- 10 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::MethodCall()
MethodCall ::= ["(" [Values] ")"]
Return value
array
1 call to DocParser::MethodCall()
- DocParser::Annotation in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php - Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |…
File
- core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php, line 824 - This class is a near-copy of Doctrine\Common\Annotations\DocParser, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.
Class
- DocParser
- A parser for docblock annotations.
Namespace
Drupal\Component\Annotation\DoctrineCode
private function MethodCall() {
$values = array();
if (!$this->lexer
->isNextToken(DocLexer::T_OPEN_PARENTHESIS)) {
return $values;
}
$this
->match(DocLexer::T_OPEN_PARENTHESIS);
if (!$this->lexer
->isNextToken(DocLexer::T_CLOSE_PARENTHESIS)) {
$values = $this
->Values();
}
$this
->match(DocLexer::T_CLOSE_PARENTHESIS);
return $values;
}