Méthode |
Description |
|
Annotation ( ) : mixed |
Annotation ::= "@" AnnotationName MethodCall
AnnotationName ::= QualifiedName | SimpleName
QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName
NameSpacePart ::= identifier | null | false | true
SimpleName ::= identifier | null | false | true |
|
Annotations ( ) : array |
Annotations ::= Annotation {[ "*" ]* [Annotation]}* |
|
ArrayEntry ( ) : array |
ArrayEntry ::= Value | KeyValuePair
KeyValuePair ::= Key ("=" | ":") PlainValue | Constant
Key ::= string | integer | Constant |
|
Arrayx ( ) : array |
Array ::= "{" ArrayEntry {"," ArrayEntry}* [","] "}" |
|
Constant ( ) : mixed |
Constant ::= integer | string | float | boolean |
|
FieldAssignment ( ) : array |
FieldAssignment ::= FieldName "=" PlainValue
FieldName ::= identifier |
|
Identifier ( ) : string |
Identifier ::= string |
|
MethodCall ( ) : array |
MethodCall ::= ["(" [Values] ")"] |
|
PlainValue ( ) : mixed |
PlainValue ::= integer | string | float | boolean | Array | Annotation |
|
Value ( ) : mixed |
Value ::= PlainValue | FieldAssignment |
|
Values ( ) : array |
Values ::= Array | Value {"," Value}* [","] |
|
classExists ( string $fqcn ) : boolean |
Attempts to check if a class exists or not. This never goes through the PHP autoloading mechanism
but uses the {@link AnnotationRegistry} to load classes. |
|
collectAnnotationMetadata ( string $name ) : void |
Collects parsing metadata for a given annotation class |
|
collectAttributeTypeMetadata ( array &$metadata, Doctrine\Common\Annotations\Annotation\Attribute $attribute ) : void |
Collects parsing metadata for a given attribute. |
|
findInitialTokenPosition ( string $input ) : integer | null |
Finds the first valid annotation |
|
isIgnoredAnnotation ( string $name ) : boolean |
Checks whether the given $name matches any ignored annotation name or namespace |
|
match ( integer $token ) : boolean |
Attempts to match the given token with the current lookahead token. |
|
matchAny ( array $tokens ) : boolean |
Attempts to match the current lookahead token with any of the given tokens. |
|
syntaxError ( string $expected, array | null $token = null ) : void |
Generates a new syntax error. |
|