public function flushGroups(array $groups)
    {
        $this->ensureCacheGroupsExist($groups);
        foreach ($groups as $group) {
            $this->cacheManager->flushCachesInGroup($group);
        }
    }
public function flushGroups(array $groups)
    {
        $this->ensureCacheGroupsExist($groups);
        foreach ($groups as $group) {
            $this->cacheManager->flushCachesInGroup($group);
        }
    }
public function flushGroups ( array $ groups ) { $ this -> ensureCacheGroupsExist ( $ groups ) ; foreach ( $ groups as $ group ) { $ this -> cacheManager -> flushCachesInGroup ( $ group ) ; } }
Flushes all caches in specified groups.

@param array $groups
@throws NoSuchCacheGroupException
Flushes all caches in specified groups .