Deprecation: #85004 - Deprecate methods in ReflectionService

See forge#85004


The following methods within TYPO3\CMS\Extbase\Reflection\ReflectionService have been marked as deprecated:

  • getClassTagsValues()
  • getClassTagValues()
  • getClassPropertyNames()
  • hasMethod()
  • getMethodTagsValues()
  • getMethodParameters()
  • getPropertyTagsValues()
  • getPropertyTagValues()
  • isClassTaggedWith()
  • isPropertyTaggedWith()


Calling any of the deprecated methods above will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Any TYPO3 installation with a custom extension trying to gather reflection data via TYPO3\CMS\Extbase\Reflection\ReflectionService


Instead of fetching reflection data via TYPO3\CMS\Extbase\Reflection\ReflectionService, the needed data should directly be fetched from a TYPO3\CMS\Extbase\Reflection\ClassSchema instance. An instance can be created by calling TYPO3\CMS\Extbase\Reflection\ReflectionService::getClassSchema().