Returning an array rather than SplObjectStorage