I can read custom annotations in Symfony with class `Doctrine\Common\Annotations\AnnotationReader`.

It looks like below. I have described property:

```
/**
 * @var array
 * @MappingClient(ignore=true)
 */
protected static $myProperty = [];

```

And I may parse annotation `@MappingClient`:

```
$class = new \ReflectionClass(get_called_class());
$property = $class->getProperty('myProperty');
$annotationReader = new AnnotationReader();
$mappingClient = $annotationReader
    ->getPropertyAnnotation($property, 'MyClass\Annotation\MappingClient');

```

And also I need to parse type of property, what described in `@var array`. I understand what I can parse it with regex on `$property->getDocComment()`. But how may I do it just with Symfony classes if `getPropertyAnnotation()` ignoring `@var` and other standard declarations? Is there a more elegant way of?