ObjectCollection
class ObjectCollection implements Collection, ArrayRepresentation (View source)
Constants
| NODE_OBJECT |
|
| NODE_CHILDREN |
|
Methods
next()
No description
remove($key)
No description
current()
No description
offsetExists($offset)
No description
slice($offset, $length = null)
No description
get($key)
No description
offsetUnset($offset)
No description
toArray()
No description
indexOf($element)
No description
key()
No description
add($element)
No description
offsetGet($offset)
No description
set($key, $value)
No description
getValues()
No description
last()
No description
containsKey($key)
No description
clear()
No description
isEmpty()
No description
count()
No description
getKeys()
No description
offsetSet($offset, $value)
No description
contains($element)
No description
getIterator()
No description
removeElement($element)
No description
first()
No description
getArrayCopy()
No description
Collection
getIdentifiers()
Get list of object identifiers
array
getDictionary(callable|NULL $idStringifier = null)
No description
array
getHierarchyFromParentAssociation(string $parentAssociationName, ReflectionService $reflectionService = null)
Get the object collection reorganized as a tree.
Details
at line 31
__construct(Collection|array|Traversable $collection, ClassMetadata $metadata)
at line 45
next()
at line 55
remove($key)
at line 60
current()
at line 70
offsetExists($offset)
at line 75
slice($offset, $length = null)
at line 80
get($key)
at line 85
offsetUnset($offset)
at line 90
toArray()
at line 100
indexOf($element)
at line 105
key()
at line 110
add($element)
at line 115
offsetGet($offset)
at line 120
set($key, $value)
at line 125
getValues()
at line 130
last()
at line 135
containsKey($key)
at line 140
clear()
at line 145
isEmpty()
at line 150
count()
at line 155
getKeys()
at line 160
offsetSet($offset, $value)
at line 170
contains($element)
at line 175
getIterator()
at line 185
removeElement($element)
at line 190
first()
at line 220
getArrayCopy()
at line 230
Collection
getIdentifiers()
Get list of object identifiers
at line 246
array
getDictionary(callable|NULL $idStringifier = null)
at line 294
array
getHierarchyFromParentAssociation(string $parentAssociationName, ReflectionService $reflectionService = null)
Get the object collection reorganized as a tree.