Bug #27825
TypeHandling should use the Collection interface as collection type
Status: | Closed | Start date: | 2011-07-04 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 0% |
|
Category: | Utility | |||
Target version: | TYPO3 Flow Base Distribution - 1.0.0 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
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
History
#1 Updated by Karsten Dambekalns about 4 years ago
- Category set to Utility
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
- Target version set to 1230
#2 Updated by Karsten Dambekalns almost 4 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 almost 4 years ago
- Target version changed from 1230 to 1.0.0