Bug #27825

TypeHandling should use the Collection interface as collection type

Added by Stephan Schuler over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Must have
Category:
Utility
Start date:
2011-07-04
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Only the following values are possible collection types that can have an element type annotation for children at the moment:
  • array
  • \ArrayObject
  • \SplObjectStorage
  • \Doctrine\Common\Collections\ArrayCollection

As a \Doctrine\Common\Collections\PersistentCollection is no \Doctrine\Common\Collections\ArrayCollection but implements the \Doctrine\Common\Collections\Collection interface as well, FLOW3 should use the Collection interface for determining if its a collection type.


Related issues

Has duplicate TYPO3.Flow - Bug #29419: It is impossible to use the Collection interface in "type hints"ResolvedKarsten Dambekalns2011-09-01

Actions
#1

Updated by Karsten Dambekalns over 10 years ago

  • Category set to Utility
  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
  • Target version set to 1230
#2

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from Accepted to Closed

Ok, I didn't realize we had this one when creating #29419 - refer to that one for actual progress on this issue.

#3

Updated by Karsten Dambekalns about 10 years ago

  • Target version changed from 1230 to 1.0.0

Also available in: Atom PDF