Use symfony/property-info to gather doc block information
This patch introduces the requirement to symfony/property-info
which provides a neat api to extract information about
properties via several different extractors.
The package comes with a PhpDocExtractor, which is kind of
a drop in replacement (functional wise) for the extbase
DocCommentParser which has been removed.
Along with the replacement of the doc block extractor
the package comes with an api to fetch context data that
enables us to resolve non fully qualified class names.
This is now possible:
/* * @var ObjectStorage<Comment>
This only works in extbase models as the reflection
costs are high and the information is only needed
in this case.
The non fully qualified class name is now also
supported for injection properties, although it is
still recommended to avoid injection properties in
favor of injection methods or constructor injection.
use TYPO3\CMS\Extbase\Annotation as Extbase;
/* * @Extbase\Inject * @var ConfigurationManager