DataIterableAnnotationReader
class DataIterableAnnotationReader
Properties
| protected Lexer|null | $lexer | ||
| protected PhpDocParser|null | $parser |
Methods
array
array
array
PhpDocNode|null
parse(string|false $comment)
Parse a PHPDoc comment.
array
extract(TypeNode $type, string $declaringClass, string|null $property = null)
Extract every iterable declaration from a type node.
Details
at line 35
array
getForClass(ReflectionClass $class)
Get iterable annotations declared for class properties.
at line 62
array
getForProperty(ReflectionProperty $property)
Get iterable annotations declared for a property.
at line 77
array
getForMethod(ReflectionMethod $method)
Get iterable annotations declared for method parameters.
at line 106
protected PhpDocNode|null
parse(string|false $comment)
Parse a PHPDoc comment.
at line 133
protected array
extract(TypeNode $type, string $declaringClass, string|null $property = null)
Extract every iterable declaration from a type node.