SwatDB/SwatDBRecordsetWrapper.php
public function setFlushableCache(SwatDBCacheNsFlushable $cache)
    {
        foreach ($this->objects as $object) {
            if ($object instanceof SwatDBFlushable) {
                $object->setFlushableCache($cache);
            }
        }
    }
public function setFlushableCache(SwatDBCacheNsFlushable $cache)
    {
        foreach ($this->objects as $object) {
            if ($object instanceof SwatDBFlushable) {
                $object->setFlushableCache($cache);
            }
        }
    }
public function setFlushableCache ( SwatDBCacheNsFlushable $ cache ) { foreach ( $ this -> objects as $ object ) { if ( $ object instanceof SwatDBFlushable ) { $ object -> setFlushableCache ( $ cache ) ; } } }
Sets the flushable cache to use for this record-set

Using a flushable cache allows clearing the cache when the records
are modified or deleted.

@param SwatDBCacheNsFlushable $cache The flushable cache to use for
this dataobject.
Sets the flushable cache to use for this record - set