Bug #31520

Reflection Service's getPropertyAnnotations() doesn't respect @var annotations

Added by Adrian Föder almost 4 years ago. Updated over 3 years ago.

Status:Rejected Start date:2011-11-02
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:Reflection
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:FLOW3 1.0.0

Description

When calling
getPropertyAnnotations() or
getPropertyAnnotation()
of \TYPO3\FLOW3\Reflection\ReflectionService

the @var annotations are omitted as if they weren't there.

In contrast, e.g. getPropertyTagValues() works for that.

History

#1 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from New to Rejected
  • Assigned To set to Karsten Dambekalns
  • Affected Flow version changed from Git master to FLOW3 1.0.0

That is correct. Annotations and tags are different things. We will clarify this in the documentation…

Also available in: Atom PDF