private function DocParser::FieldAssignment in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/lib/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 modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Value ::= PlainValue | FieldAssignment
File
- modules/
providers/ service_container_annotation_discovery/ lib/ 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;
}