private function DocParser::FieldAssignment in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php \Doctrine\Common\Annotations\DocParser::FieldAssignment()
FieldAssignment ::= FieldName "=" PlainValue FieldName ::= identifier
Return value
array
1 call to DocParser::FieldAssignment()
- DocParser::Value in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Value ::= PlainValue | FieldAssignment
File
- vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php, line 1050
Class
- DocParser
- A parser for docblock annotations.
Namespace
Doctrine\Common\AnnotationsCode
private function FieldAssignment() {
$this
->match(DocLexer::T_IDENTIFIER);
$fieldName = $this->lexer->token['value'];
$this
->match(DocLexer::T_EQUALS);
$item = new \stdClass();
$item->name = $fieldName;
$item->value = $this
->PlainValue();
return $item;
}