Core classCoredna\Kernel\Helper\Classes

ReadOnlyCollection

A better implementation of PHP's ArrayObject which works in Smarty, and is read-only. Allows accessing array elements as object properties.

Coredna\Kernel\Helper\Classes\ReadOnlyCollection

Properties 4

Take no arguments.

# isEmpty()
bool
Returns true, if container is empty
# toArray()
array
Array representation of the object
# first()
?mixed
Return the current element
# count()
int
Gets the count of elements in current collection