public Object[] toArray() {
        return (Object[]) collection.toArray();
    }
Gets the collection being decorated.

@return the decorated collection
jphp-runtime/src/php/runtime/common/collections/collection/AbstractCollectionDecorator.java