interface IteratorAggregate implements IteratorAggregate, Countable (View source)

IteratorAggregate interface.

Methods

array|object|null
getSingleResult()

Return the first element or null if no elements exist.

array
toArray()

Return all elements as an array.

Details

array|object|null getSingleResult()

Return the first element or null if no elements exist.

Return Value

array|object|null

array toArray()

Return all elements as an array.

Return Value

array