You are here

private function FileCache::getIterator in Plug 7

Return value

\Iterator

2 calls to FileCache::getIterator()
FileCache::doFlush in lib/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php
Flushes all cache entries.
FileCache::doGetStats in lib/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php
Retrieves cached information from the data store.

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php, line 216

Class

FileCache
Base file cache driver.

Namespace

Doctrine\Common\Cache

Code

private function getIterator() {
  return new \RegexIterator(new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->directory)), '/^.+' . preg_quote($this->extension, '/') . '$/i');
}