You are here

private function FileCache::getIterator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php \Doctrine\Common\Cache\FileCache::getIterator()

Return value

\Iterator

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

File

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

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');
}