Storing user reference in `$cache_to_update` would allow : 

```php
array_walk($cache_to_update, function (\User_Adapter $user) {
    $app['acl']->get($user)->delete_data_from_cache();
});
unset ($cache_to_update);
```