Neos\Cache\Frontend\CacheEntryIterator::__construct PHP Метод

__construct() публичный Метод

Constructs this Iterator
public __construct ( Neos\Cache\Frontend\FrontendInterface $frontend, Neos\Cache\Backend\IterableBackendInterface $backend, integer $chunkSize = null )
$frontend Neos\Cache\Frontend\FrontendInterface Frontend of the cache to iterate over
$backend Neos\Cache\Backend\IterableBackendInterface Backend of the cache
$chunkSize integer Determines the number of entries fetched by the backend at once (for future use)
    public function __construct(FrontendInterface $frontend, IterableBackendInterface $backend, $chunkSize = null)
    {
        $this->frontend = $frontend;
        $this->backend = $backend;
        $this->backend->rewind();
    }